| Updated: October 28, 2024 |
Set exclusive use of a terminal
#include <sys/ioctl.h>
#define TIOCSINUSE TIOCEXCL
#define TIOCEXCL _IO('t', 13)
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | TIOCEXCL or TIOCSINUSE |
These commands set exclusive use of a terminal.
None.
None.