summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/listen.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/listen.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/listen.2')
-rw-r--r--lib/libc/sys/listen.28
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2
index 6423850..c7a9bdb 100644
--- a/lib/libc/sys/listen.2
+++ b/lib/libc/sys/listen.2
@@ -57,7 +57,7 @@ accepted with
.Xr accept 2 .
The
.Fn listen
-call applies only to sockets of type
+system call applies only to sockets of type
.Dv SOCK_STREAM
or
.Dv SOCK_SEQPACKET .
@@ -120,7 +120,9 @@ parameter.
.Sh RETURN VALUES
.Rv -std listen
.Sh ERRORS
-.Fn Listen
+The
+.Fn listen
+system call
will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
@@ -145,7 +147,7 @@ The socket is not of a type that supports the operation
.Sh HISTORY
The
.Fn listen
-function call appeared in
+system call appeared in
.Bx 4.2 .
The ability to configure the maximum
.Fa backlog
OpenPOWER on IntegriCloud