Back to index

glibc  2.9
Functions
isatty.c File Reference
#include <unistd.h>
#include <termios.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int __isatty (int fd)

Function Documentation

int __isatty ( int  fd)

Definition at line 24 of file isatty.c.

{
  struct termios term;

  return __tcgetattr (fd, &term) == 0;
}

Here is the call graph for this function: