TIOCEXCL, TIOCSINUSE

Set exclusive use of a terminal

Synopsis:

#include <sys/ioctl.h>

#define TIOCSINUSE      TIOCEXCL

#define TIOCEXCL        _IO('t', 13)

Arguments to ioctl():

Argument Value
fd A file descriptor that you obtained by opening the device
request TIOCEXCL or TIOCSINUSE

Description:

These commands set exclusive use of a terminal.

Input:

None.

Output:

None.

See also:

TIOCNXCL

ioctl() in the QNX Neutrino C Library Reference