TIOCNOTTY

Make a terminal not be the controlling terminal

Synopsis:

#include <sys/ioctl.h>

#define TIOCNOTTY       _IO('t', 113)

Arguments to ioctl():

Argument Value
fd A file descriptor that you obtained by opening the device
request TIOCNOTTY

Description:

This command calls tcsetsid() to make the terminal not be the controlling terminal for the process.

Input:

None.

Output:

None.

See also:

TIOCSCTTY

ioctl(), tcsetsid() in the QNX Neutrino C Library Reference