From owner-freebsd-bugs Thu Sep 21 18:20:05 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA07827 for bugs-outgoing; Thu, 21 Sep 1995 18:20:05 -0700 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA07817 ; Thu, 21 Sep 1995 18:20:02 -0700 Resent-Date: Thu, 21 Sep 1995 18:20:02 -0700 Resent-Message-Id: <199509220120.SAA07817@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, witr@rwwa.com 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 ; 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 Reply-To: witr@rwwa.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/731: socketpair(2) and man page inconsistent Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 731 >Category: docs >Synopsis: socketpair(2) and man page inconsistent about return value >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 21 18:20:01 PDT 1995 >Last-Modified: >Originator: Robert Withrow >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 >Release: FreeBSD 2.0-BUILT-19950603 i386 >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. >Audit-Trail: >Unformatted: