Subject: kern/7855: accept(2) man page
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/25/1999 20:50:49
>Number:         7855
>Category:       kern
>Synopsis:       accept(2) man page inaccurate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 25 20:50:01 1999
>Originator:     Darren Reed
>Release:        NetBSD-1.4
System: NetBSD 1.4 NetBSD 1.4 (MERLIN) #3: Sun May 23 19:58:14 EST 1999 arm32

	The man page for accept(2) only mentions that it expects the process
to have called bind(2) prior to using accept(2).  It should also mention that
listen(2) is required to be used on the same fd, after the bind and before
accept(2).  Also, it does not say that EINVAL is returned when these have
not been called on a socket fd.