Subject: kern/7855: accept(2) man page
To: None <gnats-bugs@gnats.netbsd.org>
From: None <darrenr@pobox.com>
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
>Last-Modified:
>Originator:     Darren Reed
>Organization:
>Release:        NetBSD-1.4
>Environment:
	
System: NetBSD merlin.reed.wattle.id.au 1.4 NetBSD 1.4 (MERLIN) #3: Sun May 23 19:58:14 EST 1999 darrenr@merlin.reed.wattle.id.au:/usr/src/sys/arch/arm32/compile/MERLIN arm32


>Description:
	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.
>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: