Module Name: src
Committed By: pooka
Date: Sat Dec 19 23:00:10 UTC 2009
Modified Files:
src/lib/libc/sys: socketpair.2
Log Message:
Remove note about portability, since PF_UNSPEC will cause socketpair()
to EAFNOSUPPORT on NetBSD(!). Additionally, at least slowaris and
linux talk only about PF_LOCAL. Finally, since I'm reading a NetBSD
man page, I foremost care about the code working on NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/sys/socketpair.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/socketpair.2
diff -u src/lib/libc/sys/socketpair.2:1.19 src/lib/libc/sys/socketpair.2:1.20
--- src/lib/libc/sys/socketpair.2:1.19 Thu May 13 10:20:58 2004
+++ src/lib/libc/sys/socketpair.2 Sat Dec 19 23:00:10 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: socketpair.2,v 1.19 2004/05/13 10:20:58 wiz Exp $
+.\" $NetBSD: socketpair.2,v 1.20 2009/12/19 23:00:10 pooka Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)socketpair.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd August 18, 2002
+.Dd December 20, 2009
.Dt SOCKETPAIR 2
.Os
.Sh NAME
@@ -89,12 +89,5 @@
.Bx 4.2 .
.Sh BUGS
This call is currently implemented only for the
-.Tn LOCAL
+.Dv PF_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.