zaptty(2)
NAME
zaptty − zap the controlling tty
SYNTAX
int zaptty()
DESCRIPTION
The zaptty system call disassociates a process from it’s controlling tty. The next terminal type device that the process opens will become the new controlling tty. The zaptty call is useful for daemons because they usually do not want to be associated with any terminal.
RESTRICTIONS
This system call is restricted to use only by the superuser.
ASSEMBLER
(zaptty = 69.)
sys zaptty