| TIOCTTYGSTRUCT(2const) | TIOCTTYGSTRUCT(2const) |
TIOCTTYGSTRUCT - kernel debugging
Standard C library (libc, -lc)
#include <sys/ioctl.h>
int ioctl(int fd, TIOCTTYGSTRUCT, struct tty_struct *argp);
#include <linux/tty.h>
struct tty_struct;
Get the tty_struct corresponding to fd.
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
This operation was removed in Linux 2.5.67.
| 2024-06-13 | Linux man-pages 6.9.1 |