Copyright Digital Equipment Corp. All rights reserved.

Return_Values

   1                  If the file descriptor is associated with a
                      terminal.
   0                  If the file descriptor is not associated with
                      a terminal.
   -1                 Indicates an error (for example, if the file
                      descriptor is not associated with an open
                      file).