Not a typewriter
apartan at gouldsd.UUCP
apartan at gouldsd.UUCP
Fri Jun 27 03:02:28 AEST 1986
In article <37 at mtxinu.UUCP>, ed at mtxinu.UUCP (Ed Gould) writes:
> As long as we're reading the documentatin *carefully*, let's remember that
> any return from
>
> write(fd, buf, n)
>
> that is != n is an error.
This is NOT so! If the fd refers to a pipe, and you are writing more bytes
than the pipe will hold, and you get an interrupt, then the write() will return
something that is >0, but is != n.
I ran into this problem porting some code to a Perkin-Elmer XELOS system (a
port of Sys V).
--asp (Andrew S. Partan)
-- seismo!sundc!gouldsd!asp
-- decuac!gouldsd!asp
More information about the Comp.unix
mailing list