accept.2: Simplify the discussion of 'socklen_t'

We don't really need to list the old OSes in this discussion.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-09 13:00:46 +01:00
parent ec5df7afea
commit a05774c442
1 changed files with 8 additions and 6 deletions

View File

@ -353,13 +353,15 @@ implied by closing the new socket.
Currently, only DECnet has these semantics on Linux. Currently, only DECnet has these semantics on Linux.
.\" .\"
.SS The socklen_t type .SS The socklen_t type
The third argument of In the original BSD sockets implementation (and on other older systems)
.\" such as Linux libc4 and libc5, SunOS 4, SGI
the third argument of
.BR accept () .BR accept ()
was originally declared as an \fIint\ *\fP (and is that under libc4 and libc5 was declared as an \fIint\ *\fP.
and on many other systems like 4.x BSD, SunOS 4, SGI); a POSIX.1g draft A POSIX.1g draft
standard wanted to change it into a \fIsize_t\ *\fP, and that is what it is standard wanted to change it into a \fIsize_t\ *\fPC;
for SunOS 5. .\" SunOS 5 has 'size_t *'
Later POSIX standards and glibc 2.x have later POSIX standards and glibc 2.x have
.IR "socklen_t\ * ". .IR "socklen_t\ * ".
.SH EXAMPLE .SH EXAMPLE
See See