From felix@zotteljedi.de  Wed Aug 27 10:29:36 2003
Return-Path: <felix@zotteljedi.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 19CB116A4C0
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Aug 2003 10:29:36 -0700 (PDT)
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DC45243FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Aug 2003 10:29:34 -0700 (PDT)
	(envelope-from felix@zotteljedi.de)
Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 19s46w-0000JE-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 27 Aug 2003 19:29:34 +0200
Received: from [80.128.199.205] (helo=grishnakh.zotteljedi.de)
	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
	id 19s46w-0000cs-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 27 Aug 2003 19:29:34 +0200
Received: by grishnakh.zotteljedi.de (Postfix, from userid 1001)
	id 7D427A2BE; Mon, 25 Aug 2003 18:25:38 +0200 (CEST)
Message-Id: <20030825162538.7D427A2BE@grishnakh.zotteljedi.de>
Date: Mon, 25 Aug 2003 18:25:38 +0200 (CEST)
From: Felix Opatz <felix@zotteljedi.de>
Reply-To: Felix Opatz <felix@zotteljedi.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: missing information in manpage for accept(2)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56044
>Category:       docs
>Synopsis:       missing information in manpage for accept(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 27 10:30:19 PDT 2003
>Closed-Date:    Fri Jun 04 02:16:17 PDT 2004
>Last-Modified:  Fri Jun 04 02:16:17 PDT 2004
>Originator:     Felix Opatz
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD grishnakh.zotteljedi.de 4.7-RELEASE FreeBSD 4.7-RELEASE #2: Sat May 3 14:55:24 CEST 2003 felix@grishnakh.zotteljedi.de:/usr/src/sys/compile/MEINER i386


	
>Description:
	
The manpage for accept(2) doesn't tell the user, that the second
parameter can be NULL in order to ignore the third one, and to tell
the kernel not to fill in any information about the client.


>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:

From: Bernd Luevelsmeyer <bdluevel@heitec.net>
To: freebsd-gnats-submit@FreeBSD.org, felix@zotteljedi.de
Cc:  
Subject: Re: docs/56044: missing information in manpage for accept(2)
Date: Fri, 29 Aug 2003 01:38:45 +0200

 I suggest this patch:
 
 --- accept.2.orig       Fri Aug 29 01:26:29 2003
 +++ accept.2    Fri Aug 29 01:32:53 2003
 @@ -86,7 +86,13 @@
  .Fa addr
  parameter is determined by the domain in which the communication
  is occurring.
 -The
 +.Fa addr
 +may be a NULL pointer if the address information is not desired.
 +If
 +.Fa addr
 +is a NULL pointer,
 +.Fa addrlen
 +is not used and should be NULL; otherwise, the
  .Fa addrlen
  is a value-result parameter; it should initially contain the
  amount of space pointed to by
State-Changed-From-To: open->patched 
State-Changed-By: roam 
State-Changed-When: Fri Sep 5 08:42:03 PDT 2003 
State-Changed-Why:  
A correction similar to Bernd's suggestion was committed to -CURRENT. 
Thanks for the problem report and the suggestion! 


Responsible-Changed-From-To: freebsd-doc->roam 
Responsible-Changed-By: roam 
Responsible-Changed-When: Fri Sep 5 08:42:03 PDT 2003 
Responsible-Changed-Why:  
I will handle the MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56044 
State-Changed-From-To: patched->closed 
State-Changed-By: roam 
State-Changed-When: Fri Jun 4 02:15:19 PDT 2004 
State-Changed-Why:  
A couple of months late, the change was merged into -STABLE. 
Thanks for the problem report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56044 
>Unformatted:
