docs/118214: close(2) error returns incomplete

Poul-Henning Kamp phk at
Fri Nov 23 10:40:05 UTC 2007

>Number:         118214
>Category:       docs
>Synopsis:       close(2) error returns incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 10:40:04 UTC 2007
>Originator:     Poul-Henning Kamp
>Release:        FreeBSD 8.0-CURRENT i386
System: FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Nov 5 00:09:37 UTC 2007 root at i386

	The close(2) manpage does not list ENOTCONN as a possible error
	return, yet I have just received it.
	Not sure.

	It may be relevant to split the ERRORS section into sections:
	generic errors that all fd's can give, and subsystem specific
	errors that can only come from pipes, devices or sockets.


More information about the freebsd-doc mailing list