Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys bring in a note about portability from openbsd.



details:   https://anonhg.NetBSD.org/src/rev/7b96c965f36e
branches:  trunk
changeset: 535405:7b96c965f36e
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Aug 17 18:41:36 2002 +0000

description:
bring in a note about portability from openbsd.

diffstat:

 lib/libc/sys/socketpair.2 |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 8538d483a5c4 -r 7b96c965f36e lib/libc/sys/socketpair.2
--- a/lib/libc/sys/socketpair.2 Sat Aug 17 18:38:46 2002 +0000
+++ b/lib/libc/sys/socketpair.2 Sat Aug 17 18:41:36 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: socketpair.2,v 1.14 2002/02/08 01:28:22 ross Exp $
+.\"    $NetBSD: socketpair.2,v 1.15 2002/08/17 18:41:36 yamt Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"     @(#)socketpair.2       8.1 (Berkeley) 6/4/93
 .\"
-.Dd October 16, 2001
+.Dd August 18, 2002
 .Dt SOCKETPAIR 2
 .Os
 .Sh NAME
@@ -93,5 +93,12 @@
 .Bx 4.2 .
 .Sh BUGS
 This call is currently implemented only for the
-.Ux
+.Tn LOCAL
 domain.
+Many operating systems only accept a
+.Ar protocol
+of
+.Ev PF_UNSPEC ,
+so that should be used instead of
+.Ev PF_LOCAL
+for maximal portability.



Home | Main Index | Thread Index | Old Index