table of contents
other versions
- Tumbleweed 6.15-1.1
- Leap-16.0
TIOCSETD(2const) | TIOCSETD(2const) |
NAME¶
TIOCGETD, TIOCSETD - get or set the line discipline of the terminal
LIBRARY¶
Standard C library (libc, -lc)
SYNOPSIS¶
#include <asm/termbits.h> /* Definition of TIOC*ETD constants */ #include <sys/ioctl.h>
int ioctl(int fd, TIOCGETD, int *argp); int ioctl(int fd, TIOCSETD, const int *argp);
DESCRIPTION¶
RETURN VALUE¶
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
SEE ALSO¶
2025-05-17 | Linux man-pages (unreleased) |