summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2009-01-05 12:18:46 +0000
committertrhodes <trhodes@FreeBSD.org>2009-01-05 12:18:46 +0000
commitd76be03b00ae89c9ba33468bd362d54093d2530d (patch)
tree0f28d3944cc3bdabe64debfa578b3858be4b38f9 /lib/libc
parentfebbfc2b6ac1d89316e6805a5ece35156ba04005 (diff)
downloadFreeBSD-src-d76be03b00ae89c9ba33468bd362d54093d2530d.zip
FreeBSD-src-d76be03b00ae89c9ba33468bd362d54093d2530d.tar.gz
Note that the protocol argument can be set to 0.
PR: 127890 Reviewed by: rwatson
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/socket.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2
index ce4c1fb..dae33d0 100644
--- a/lib/libc/sys/socket.2
+++ b/lib/libc/sys/socket.2
@@ -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
OpenPOWER on IntegriCloud