Module Name: src
Committed By: pgoyette
Date: Sun Oct 27 12:28:13 UTC 2019
Modified Files:
src/lib/libc/sys: accept.2
Log Message:
accept() is a function, not an argument!
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/lib/libc/sys/accept.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/accept.2
diff -u src/lib/libc/sys/accept.2:1.33 src/lib/libc/sys/accept.2:1.34
--- src/lib/libc/sys/accept.2:1.33 Tue May 9 06:41:56 2017
+++ src/lib/libc/sys/accept.2 Sun Oct 27 12:28:13 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: accept.2,v 1.33 2017/05/09 06:41:56 abhinav Exp $
+.\" $NetBSD: accept.2,v 1.34 2019/10/27 12:28:13 pgoyette Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)accept.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd February 8, 2017
+.Dd October 27, 2019
.Dt ACCEPT 2
.Os
.Sh NAME
@@ -58,7 +58,7 @@ and is listening for connections after a
.Xr listen 2 .
The
.Fn accept
-argument
+function
extracts the first connection request on the queue of pending
connections, creates a new socket with the same properties of
.Fa s