Subject: Re: write() returning -1 and EINTR?
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 12/16/2002 01:10:22
--=.mbog'a,vV.anN=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
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
man 2 write
Christian
--=.mbog'a,vV.anN=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE9/RoD0KQix3oyIMcRAnEgAKCawpKhPSeBRsJ7+uRhtw0EvE9lHQCfVr+X
llpM+FKbiSmsYHXQtQhhGv0=
=fMS6
-----END PGP SIGNATURE-----
--=.mbog'a,vV.anN=--