svn commit: r186769 - head/lib/libc/sys
Tom Rhodes
trhodes at FreeBSD.org
Mon Jan 5 04:18:47 PST 2009
Author: trhodes
Date: Mon Jan 5 12:18:46 2009
New Revision: 186769
URL: http://svn.freebsd.org/changeset/base/186769
Log:
Note that the protocol argument can be set to 0.
PR: 127890
Reviewed by: rwatson
Modified:
head/lib/libc/sys/socket.2
Modified: head/lib/libc/sys/socket.2
==============================================================================
--- head/lib/libc/sys/socket.2 Mon Jan 5 12:10:22 2009 (r186768)
+++ head/lib/libc/sys/socket.2 Mon Jan 5 12:18:46 2009 (r186769)
@@ -28,7 +28,7 @@
.\" From: @(#)socket.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 4, 2008
+.Dd January 5, 2009
.Dt SOCKET 2
.Os
.Sh NAME
@@ -131,6 +131,11 @@ in which communication
is to take place; see
.Xr protocols 5 .
.Pp
+The
+.Fa protocol
+argument may be set to zero (0) to request the default
+implementation of a socket type for the protocol, if any.
+.Pp
Sockets of type
.Dv SOCK_STREAM
are full-duplex byte streams, similar
More information about the svn-src-all
mailing list