What is the TIOCNOTTY ioctl() ??

Dave Brownell brownell at harvard.ARPA
Fri Jul 27 06:49:05 AEST 1984


In the source for SENDMAIL there is a routine disconnect (), which
is supposed to disconnect the mail backend from its controlling
terminal while it delivers mail.  It ignores QUIT, INT, and HUP,
and then there is some code #ifdeffed for TIOCNOTTY, which I
assume does something more significant.  (It doesn't change the
process group, which seems wrong.)  It also redirects stdio.

The problem is that I grepping for TIOCNOTTY in the include files for
our systems is a failure:  not in 4.1 bsd, 4.2 bsd, or System V.  What
does this do??




Dave Brownell
{allegra,floyd,ihnp4,seismo}!harvard!brownell



More information about the Comp.unix.wizards mailing list