aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/accept.2
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>2000-05-11 05:06:00 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>2000-05-11 05:06:00 +0000
commitd4b81c98d8e791ba3f61a9451ff0d7b9044b628d (patch)
treea2428f969509c6d32f946747530958c8ba7620c7 /lib/libc/sys/accept.2
parent18bd6f9514502319f7f379cd68791d3214f666d6 (diff)
downloadsrc-d4b81c98d8e791ba3f61a9451ff0d7b9044b628d.tar.gz
src-d4b81c98d8e791ba3f61a9451ff0d7b9044b628d.zip
Content-free commit: only remove trailing whitespace
Notes
Notes: svn path=/head/; revision=60348
Diffstat (limited to 'lib/libc/sys/accept.2')
-rw-r--r--lib/libc/sys/accept.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index 125f7b3085d3..645a07b2759c 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -68,7 +68,7 @@ as non-blocking,
.Fn accept
blocks the caller until a connection is present.
If the socket is marked non-blocking and no pending
-connections are present on the queue,
+connections are present on the queue,
.Fn accept
returns an error as described below.
The accepted socket
@@ -86,7 +86,7 @@ The exact format of the
.Fa addr
parameter is determined by the domain in which the communication
is occurring.
-The
+The
.Fa addrlen
is a value-result parameter; it should initially contain the
amount of space pointed to by
@@ -95,7 +95,7 @@ on return it will contain the actual length (in bytes) of the
address returned.
This call
is used with connection-based socket types, currently with
-.Dv SOCK_STREAM .
+.Dv SOCK_STREAM .
.Pp
It is possible to
.Xr select 2
@@ -117,7 +117,7 @@ file descriptor, and rejection can be implied by closing the
new socket.
.Pp
One can obtain user connection request data without confirming
-the connection by issuing a
+the connection by issuing a
.Xr recvmsg 2
call with an
.Fa msg_iovlen
@@ -179,7 +179,7 @@ The system file table is full.
.It Bq Er ENOTSOCK
The descriptor references a file, not a socket.
.It Bq Er EINVAL
-.Xr listen 2
+.Xr listen 2
has not been called on the socket descriptor.
.It Bq Er EFAULT
The
@@ -200,5 +200,5 @@ are present to be accepted.
.Sh HISTORY
The
.Fn accept
-function appeared in
+function appeared in
.Bx 4.2 .