On Wed, Jun 09, 2010 at 12:35:11AM -0700, per...@pluto.rain.com wrote: > Timo Sirainen <t...@iki.fi> wrote: > > > I see that since FreeBSD 6.3 close() can fail with: > > > > > [ECONNRESET] The underlying object was a stream socket that was > > > shut down by the peer before all pending data was > > > delivered. > > > > Could someone explain what this is useful for? Note that any return from close(2) that does not set errno to EBADF closes the supplied file descriptor. Mentioned errno value supplies caller with the information that not "all pending data was delivered".
> > Consistency with SIGPIPE, perhaps? > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
pgpCwJptMRQty.pgp
Description: PGP signature