IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 4 > tty man page

tty man page

Section 4 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


TTY(4)                     Linux Programmer's Manual                    TTY(4)



NAME
       tty - controlling terminal

DESCRIPTION
       The  file  /dev/tty  is  a character file with major number 5 and minor
       number 0, usually of mode 0666 and owner.group root.tty.  It is a  syn-
       onym for the controlling terminal of a process, if any.

       In  addition  to  the ioctl() requests supported by the device that tty
       refers to, the ioctl() request TIOCNOTTY is supported.

   TIOCNOTTY
       Detach the current process from its controlling terminal.

       If the process is the session leader, then SIGHUP and  SIGCONT  signals
       are  sent to the foreground process group and all processes in the cur-
       rent session lose their controlling tty.

       This ioctl() call only works on file descriptors connected to /dev/tty.
       It  is  used  by  daemon processes when they are invoked by a user at a
       terminal.  The process attempts to open /dev/tty. If the open succeeds,
       it  detaches  itself from the terminal by using TIOCNOTTY, while if the
       open fails, it is obviously not attached to a  terminal  and  does  not
       need to detach itself.

FILES
       /dev/tty

SEE ALSO
       chown(1), getty(1), mknod(1), ioctl(2), termios(3), console(4), ttyS(4)



Linux                             2003-04-07                            TTY(4)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:39:46 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (6164 hits)
(FreeBSD 6.2)

sqlite3 man page (5598 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (5045 hits)
(Solaris 10 11_06)

CPAN man page (4791 hits)
(Suse Linux 10.1)

ssh man page (4439 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3525 hits)
(Solaris 10 11_06)

signal man page (3395 hits)
(Suse Linux 10.1)

netcat man page (3382 hits)
(Suse Linux 10.1)

pprosetup man page (2889 hits)
(Solaris 10 11_06)

startproc man page (2739 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Mountain Holidays Contact Us :: Backlit Touch Sensitive Pad :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum