summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
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