summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/accept.2
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-05-11 05:04:30 +0000
committerhoek <hoek@FreeBSD.org>2000-05-11 05:04:30 +0000
commit553c79f74c4ca979e7ef8891c3afd5f60b8ac2ff (patch)
tree40c56ed56776dc8f518da63f44dcf39469c8a2a6 /lib/libc/sys/accept.2
parent732b5c3b8b03155ae703ab8fdb682bf5ffa32404 (diff)
downloadFreeBSD-src-553c79f74c4ca979e7ef8891c3afd5f60b8ac2ff.zip
FreeBSD-src-553c79f74c4ca979e7ef8891c3afd5f60b8ac2ff.tar.gz
The accept() function is a call, not an argument. Also, add: serial
comma, missing-hyphen, and a word-erase character.
Diffstat (limited to 'lib/libc/sys/accept.2')
-rw-r--r--lib/libc/sys/accept.210
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index d1e0a60e..125f7b3 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -56,11 +56,11 @@ and is listening for connections after a
.Xr listen 2 .
The
.Fn accept
-argument
+call
extracts the first connection request
on the queue of pending connections, creates
-a new socket with the same properties of
-.Fa s
+a new socket with the same properties as
+.Fa s ,
and allocates a new file descriptor
for the socket. If no pending connections are
present on the queue, and the socket is not marked
@@ -79,7 +79,7 @@ remains open.
.Pp
The argument
.Fa addr
-is a result parameter that is filled in with
+is a result parameter that is filled-in with
the address of the connecting entity,
as known to the communications layer.
The exact format of the
@@ -129,7 +129,7 @@ request.
Similarly, one can provide user connection rejection information
by issuing a
.Xr sendmsg 2
-call with providing only the control information,
+call providing only the control information,
or by calling
.Xr setsockopt 2 .
.Sh IMPLEMENTATION NOTES
OpenPOWER on IntegriCloud