From: Sepherosa Ziehau Date: Mon, 4 Jul 2011 07:32:43 +0000 (+0800) Subject: unix(4): Mention SOCK_SEQPACKET X-Git-Tag: v2.12.0~380 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/1350da853f9914e0e448c680ca1de9af1492e6b2 unix(4): Mention SOCK_SEQPACKET Reviewed-by: swildner@ --- diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 10b598368d..17cba0c083 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -126,7 +126,9 @@ of fixed maximum length; a consumer may be required to read an entire packet with each read system call. This facility is protocol specific, and presently implemented only for -.Dv PF_NS . +.Dv PF_NS +and +.Dv PF_UNIX . .Dv SOCK_RAW sockets provide access to internal network protocols and interfaces. The types diff --git a/share/man/man4/unix.4 b/share/man/man4/unix.4 index e92974229d..9f4f972755 100644 --- a/share/man/man4/unix.4 +++ b/share/man/man4/unix.4 @@ -53,9 +53,10 @@ mechanisms. The .Ux Ns -domain family supports the -.Dv SOCK_STREAM -and +.Dv SOCK_STREAM , .Dv SOCK_DGRAM +and +.Dv SOCK_SEQPACKET socket types and uses filesystem pathnames for addressing. .Sh ADDRESSING @@ -106,11 +107,15 @@ The .Ux Ns -domain protocol family is comprised of simple transport protocols that support the -.Dv SOCK_STREAM -and +.Dv SOCK_STREAM , .Dv SOCK_DGRAM +and +.Dv SOCK_SEQPACKET abstractions. -.Dv SOCK_STREAM +.Dv SOCK_STREAM , +.Dv SOCK_DGRAM +and +.Dv SOCK_SEQPACKET sockets also support the communication of .Ux file descriptors through the use of the