isatty [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
isatty
Checks whether a file descriptor is associated with a display device,
such as a terminal.
Syntax
int isatty (int fildes)
Parameters
fildes An open file descriptor.
Return Values
1 The file descriptor is a terminal device.
0 The file descriptor is not a terminal device.
Description
The isatty function returns true or false depending on whether or not
fildes is associated with a terminal.
[REV BEG]
NOTE If linking with the POSIX/iX library, refer to the description of
isatty() located in the MPE/iX Developer's Kit Reference Manual.
[REV END]
See Also
dup(), open()
MPE/iX 5.0 Documentation