kernel debugging
Standard C library (libc, -lc)
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.