Subject: Re: write() returning -1 and EINTR?
To: None <netbsd-users@netbsd.org>
From: None <kpneal@pobox.com>
List: netbsd-users
Date: 12/15/2002 22:10:34
On Mon, Dec 16, 2002 at 01:10:22AM +0100, Christian Biere wrote:
> Hi,
>
> kpneal@pobox.com wrote:
> > How can write() return a -1 with errno set to EINTR? Shouldn't write()
> > return a 0 if it is interrupted and hasn't written anything out?
>
> have a look at this:
>
> http://www.opengroup.org/onlinepubs/007908799/xsh/write.html
Helpful, thanks for the link.
> man 2 write
So very not helpful. I already looked and didn't see squat. See
my PR that I just filed a second ago.
--
Kevin P. Neal http://www.pobox.com/~kpn/
'Concerns about "rights" and "ownership" of domains are inappropriate.
It is appropriate to be concerned about "responsibilities" and "service"
to the community.' -- RFC 1591, page 4: March 1994