home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / question / 9602 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  649 b 

  1. Path: sparky!uunet!gatech!news.ans.net!cmcl2!adm!claudius!cor5.pica.army.mil!birnbaum
  2. From: birnbaum@cor5.pica.army.mil (Richard C. Birnbaum (GC-ACCURATE) <birnbaum>)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Is stdin a pipe or a tty?
  5. Message-ID: <1992Jul30.135742.16526@pica.army.mil>
  6. Date: 30 Jul 92 13:57:42 GMT
  7. References: <1992Jul24.234615.2457@cs.yale.edu>
  8. Sender: news@pica.army.mil (USENET Special Account <usenet>)
  9. Organization: U.S. Army Armament Research Dev. & Eng. Ctr, Dover NJ
  10. Lines: 2
  11. Nntp-Posting-Host: cor5.pica.army.mil
  12.  
  13. Look up the function isatty - it tells you if the given file descriptor is
  14. coming from a terminal device.
  15.