mirror of https://github.com/mkerrisk/man-pages
accept.2: Note that 'addrlen' is left unchanged in the event of an error
See http://austingroupbugs.net/view.php?id=836. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1a29a70ded
commit
03349e33f9
|
@ -171,9 +171,11 @@ for reasons why this may be useful.
|
|||
On success,
|
||||
these system calls return a nonnegative integer that is a file descriptor
|
||||
for the accepted socket.
|
||||
On error, \-1 is returned, and
|
||||
On error, \-1 is returned,
|
||||
.I errno
|
||||
is set appropriately.
|
||||
is set appropriately, and
|
||||
.I addrlen
|
||||
is left unchanged.
|
||||
.SS Error handling
|
||||
Linux
|
||||
.BR accept ()
|
||||
|
|
Loading…
Reference in New Issue