home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23210 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  941 b 

  1. Xref: sparky comp.os.linux:23210 comp.std.c:3342
  2. Newsgroups: comp.os.linux,comp.std.c
  3. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  4. From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
  5. Subject: Re: Library 4.1 bug/feature?  fopen("fifo","a") fails
  6. Message-ID: <1993Jan8.104612.20525@klaava.Helsinki.FI>
  7. Organization: University of Helsinki
  8. References: <1993Jan7.232805.16555@serval.net.wsu.edu> <1993Jan8.020515.7341@ods.com> <1993Jan8.071603.20564@serval.net.wsu.edu>
  9. Date: Fri, 8 Jan 1993 10:46:12 GMT
  10. Lines: 10
  11.  
  12. In article <1993Jan8.071603.20564@serval.net.wsu.edu> hlu@luke.eecs.wsu.edu (H.J. Lu) writes:
  13. >
  14. >I can fix stdio to handle fopen(fifo, "a") since lseek returns with
  15. >errno == ESPIPE on fifo and pipe. But how about tty and socket? I
  16. >prefer all of them return with errno == ESPIPE.
  17.  
  18. Done.  The next version will return ESPIPE for those too - it currently
  19. returns various weird (EBADF and EINVAL) values. 
  20.  
  21.         Linus
  22.