close() of active socket does not work on FreeBSD 6
Daniel Eischen
deischen at freebsd.org
Tue Dec 12 06:34:39 PST 2006
On Mon, 11 Dec 2006, Daniel Eischen wrote:
>
> Common sense leads me to think that a close() should release
> threads in IO operations (reads/writes/selects/polls) and
> return EBADF or something appropriate. At least when behavior
> is not dictated by POSIX or other historical/defactor behavior.
BTW, I tested the behavior on Solaris. Solaris returns EBADF
with the posted sample C program.
--
DE
More information about the freebsd-arch
mailing list