From owner-freebsd-bugs Thu Aug 31 13:30:09 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id NAA20930 for bugs-outgoing; Thu, 31 Aug 1995 13:30:09 -0700 Received: from jli (jli.portland.or.us [199.2.111.1]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id NAA20922 for ; Thu, 31 Aug 1995 13:30:06 -0700 Received: from cumulus by jli with uucp (Smail3.1.29.1 #3) id m0soGEw-0001bBC; Thu, 31 Aug 95 13:29 PDT Message-Id: To: bugs@freebsd.org Subject: socketpair(2) return value incorrect MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16930.809901201.1@cloud.rain.com> Date: Thu, 31 Aug 1995 13:33:21 -0700 From: Bill Trost Sender: bugs-owner@freebsd.org Precedence: bulk According to the man page, socketpair returns 0 or 1; however, under FreeBSD 2.0.0-SNAP950322 socketpair instead returns the value of sv[0] (the first element of the fourth argument to socketpair) when successful.