manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

isatty

Synopsis:
 
int isatty(int fd);
Request:

Fisatty,fd

Return value:

Returns 1 if fd refers to the No value for GDBN console, 0 otherwise.

Errors:
EINTR

The call was interrupted by the user.

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 No value for GDBN console, 0 otherwise. Implementing through system calls would require implementing ioctl and would be more complex than needed.


© manpagez.com 2000-2017
Individual documents may contain additional copyright information.