From owner-freebsd-current Tue Jul 2 00:22:37 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA05225 for current-outgoing; Tue, 2 Jul 1996 00:22:37 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA05209 for ; Tue, 2 Jul 1996 00:22:14 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA05258 for ; Tue, 2 Jul 1996 09:21:13 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA26688 for freebsd-current@FreeBSD.org; Tue, 2 Jul 1996 09:21:12 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id JAA10893 for freebsd-current@FreeBSD.org; Tue, 2 Jul 1996 09:20:08 +0200 (MET DST) From: J Wunsch Message-Id: <199607020720.JAA10893@uriah.heep.sax.de> Subject: Re: socketpair bug? To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 2 Jul 1996 09:20:08 +0200 (MET DST) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <96Jun30.222423pdt.177476@crevenia.parc.xerox.com> from Bill Fenner at "Jun 30, 96 10:24:20 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Bill Fenner wrote: > >See also my Usenet reply: socketpair() basically needs a similar libc > >syscall wrapper like pipe(). Right now, it uses the generic syscall > >wrapper which is wrong. (The XXX??'s can be removed again then. :) > > I think the answer is the other way around -- socketpair() works as it > is and just needs the two XXX'd lines removed, no need for it to have a > wrapper like pipe(). It's documented to work similar to pipe(2) however. Also, it looks orthogonal to make both the same. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)