Next: system, Previous: gettimeofday, Up: List of Supported Calls
int isatty(int fd);
EINTR
Note that the isatty
call is treated as a special case: it returns
1 to the target if the file descriptor is attached
to the gdb console, 0 otherwise. Implementing through system calls
would require implementing ioctl
and would be more complex than
needed.