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