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

  1. Path: sparky!uunet!pipex!warwick!uknet!glasgow!sinclair
  2. From: sinclair@dcs.glasgow.ac.uk (Duncan Sinclair)
  3. Newsgroups: comp.unix.programmer
  4. Subject: FIFOs vs. Stdio
  5. Message-ID: <Bu4FGF.8C2@dcs.glasgow.ac.uk>
  6. Date: 5 Sep 92 19:57:51 GMT
  7. Organization: Glasgow University Computing Science Dept.
  8. Lines: 18
  9.  
  10. Is it reasonable to fopen a fifo with mode "a", and expect it to work?
  11.  
  12. As all writes to a FIFO are by nature appended, and you can't lseek at all
  13. away from here, surely this is a valid thing to do?
  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.  
  19. I'd be interested in your thoughts.
  20.  
  21.  
  22.  
  23. -- 
  24. Duncan Sinclair                     |  Try one    sinclair@dcs.glasgow.ac.uk
  25. Computing Science Research Student  |  of these:  sinclair@uk.ac.glasgow.dcs
  26. University of Glasgow               |..!mcsun!ukc!uk.ac.glasgow.dcs!sinclair
  27.            ---  Rave Culture: Don't techno for an answer.  ---
  28.