TIOCTTYGSTRUCT - kernel debugging
Contents
Description
Get the tty_struct corresponding to fd.
History
This operation was removed in Linux 2.5.67.
Library
Standard C library (libc, -lc)
Name
TIOCTTYGSTRUCT - kernel debugging
Return Value
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
See Also
ioctl(2), ioctl_tty(2)
Linux man-pages 6.9.1 2024-06-13 TIOCTTYGSTRUCT(2const)
Synopsis
#include<sys/ioctl.h>intioctl(intfd,TIOCTTYGSTRUCT,structtty_struct*argp);#include<linux/tty.h>structtty_struct;
