From: Linus Torvalds (torvalds@klaava.Helsinki.FI)
Date: 01/08/93


From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
Subject: Re: Library 4.1 bug/feature?  fopen("fifo","a") fails
Date: 8 Jan 1993 10:46:12 GMT

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