From witr@rwwa.com  Thu Sep 21 18:10:11 1995
Received: from spooky.rwwa.com (rwwa.com [198.115.177.3])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA07505
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Sep 1995 18:10:03 -0700
Received: (from witr@localhost) by spooky.rwwa.com (8.6.11/8.6.9) id VAA08921; Thu, 21 Sep 1995 21:10:27 -0400
Message-Id: <199509220110.VAA08921@spooky.rwwa.com>
Date: Thu, 21 Sep 1995 21:10:27 -0400
From: Robert Withrow <witr@rwwa.com>
Reply-To: witr@rwwa.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: socketpair(2) and man page inconsistent
X-Send-Pr-Version: 3.2

>Number:         731
>Category:       docs
>Synopsis:       socketpair(2) and man page inconsistent about return value
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 21 18:20:01 PDT 1995
>Closed-Date:    Fri Aug 23 20:36:01 PDT 1996
>Last-Modified:  Fri Aug 23 20:36:58 PDT 1996
>Originator:     Robert Withrow
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Organization:
  Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430 Net: witr@rwwa.COM
  R.W. Withrow Associates, 319 Lynnway Suite 201, Lynn MA 01901 USA
>Environment:
	Software development.
>Description:
	socketpair(2) is documented as returning 0 on success, but
	infact returns nonzero.

>How-To-Repeat:
	fprintf(stderr,"Socetpair returns %d\n",socketpair(AF_UNIX, SOCK_DGRAM, 0, fds));

>Fix:
	Fix the doc, I assume.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Fri Aug 23 20:36:01 PDT 1996 
State-Changed-Why:  
Ancient compatability hacks removed, it now behaves as documented. 
>Unformatted:
