From d76be03b00ae89c9ba33468bd362d54093d2530d Mon Sep 17 00:00:00 2001 From: trhodes Date: Mon, 5 Jan 2009 12:18:46 +0000 Subject: Note that the protocol argument can be set to 0. PR: 127890 Reviewed by: rwatson --- lib/libc/sys/socket.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/libc') 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 -- cgit v1.1