RTEMS Logo

RTEMS 4.9.2 On-Line Library


Process Environment Manager isatty - Determine if File Descriptor is Terminal

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

3.4.22: isatty - Determine if File Descriptor is Terminal

CALLING SEQUENCE:

int isatty(
  int fd
);

STATUS CODES:

Returns 1 if fd is a terminal device and 0 otherwise.

DESCRIPTION:

This service returns 1 if fd is an open file descriptor connected to a terminal and 0 otherwise.

NOTES:


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation