Module Name: src
Committed By: manu
Date: Sun May 29 04:51:15 UTC 2011
Modified Files:
src/share/man/man4: unix.4
Log Message:
Document that SOCK_SEQPACKET is supported
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/share/man/man4/unix.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/unix.4
diff -u src/share/man/man4/unix.4:1.22 src/share/man/man4/unix.4:1.23
--- src/share/man/man4/unix.4:1.22 Thu May 19 21:16:45 2011
+++ src/share/man/man4/unix.4 Sun May 29 04:51:15 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: unix.4,v 1.22 2011/05/19 21:16:45 riastradh Exp $
+.\" $NetBSD: unix.4,v 1.23 2011/05/29 04:51:15 manu Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -49,7 +49,8 @@
The
.Tn UNIX Ns -domain
family supports the
-.Dv SOCK_STREAM
+.Dv SOCK_STREAM ,
+.Dv SOCK_SEQPACKET
and
.Dv SOCK_DGRAM
socket types and uses
@@ -125,11 +126,14 @@
.Tn UNIX Ns -domain
protocol family comprises simple
transport protocols that support the
-.Dv SOCK_STREAM
+.Dv SOCK_STREAM ,
+.Dv SOCK_SEQPACKET
and
.Dv SOCK_DGRAM
abstractions.
.Dv SOCK_STREAM
+and
+.Dv SOCK_SEQPACKET
sockets also support the communication of
.Ux
file descriptors through the use of the
@@ -178,7 +182,8 @@
The
.Dv LOCAL_CREDS
option may be enabled on a
-.Dv SOCK_DGRAM
+.Dv SOCK_DGRAM ,
+.Dv SOCK_SEQPACKET
or a
.Dv SOCK_STREAM
socket.
@@ -208,6 +213,8 @@
.Xr getsockopt 2
to get the PID and effective user and group IDs of a
.Dv SOCK_STREAM
+or
+.Dv SOCK_SEQPACKET
peer when it did
.Xr connect 2
or