TIOCEXCL, TIOCGEXCL, TIOCNXCL
exclusive mode
- Provided by: manpages-dev (Version: 6.17-1)
- Source: manpages
- Report a bug
exclusive mode
Standard C library (libc, -lc)
#include <asm/termbits.h> /* Definition of TIOC*XCL constants */ #include <sys/ioctl.h>
int ioctl(int fd, TIOCEXCL); int ioctl(int fd, TIOCGEXCL, int *argp); int ioctl(int fd, TIOCNXCL);
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.