NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | NOTE | ATTRIBUTES | SEE ALSO
$(OS_DIR)/lib/libc.a #include <unistd.h>int isatty(int fd);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The isatty() function checks whether or not the file descriptor specified by fd is associated with a terminal device.
The isatty() function returns 1 if the file descriptor is associated with a terminal device. Otherwise, it returns 0.
In ChorusOS, isatty() always returns 1 on a socket file descriptor.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | NOTE | ATTRIBUTES | SEE ALSO