home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / programm / 4549 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  925 b 

  1. Path: sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
  2. Newsgroups: comp.unix.programmer
  3. Subject: Re: FIFOs vs. Stdio
  4. Message-ID: <1992Sep6.012635.14588@ccu1.aukuni.ac.nz>
  5. From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
  6. Date: Sun, 6 Sep 1992 01:26:35 GMT
  7. References: <Bu4FGF.8C2@dcs.glasgow.ac.uk>
  8. Organization: University of Auckland, New Zealand.
  9. Lines: 14
  10.  
  11. sinclair@dcs.glasgow.ac.uk (Duncan Sinclair) writes:
  12.  
  13. >Is it reasonable to fopen a fifo with mode "a", and expect it to work?
  14. [...]
  15. >Anyhow, FYI, SunOs 4.1.1 doesn't allow it, because stdio gets
  16. >an illegal seek as it tries to lseek to the end of the pipe.
  17.  
  18. Same problem with IRIX 4.0.5, a SVR3 deviate. The strange thing is that
  19. fdopen() actually works with "a", even if the file handle describes a
  20. pipe.
  21. -- 
  22. Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
  23. The joy of engineering is to find a straight line on a double logarithmic
  24. diagram.
  25.