mirror of https://github.com/mkerrisk/man-pages
bindresvport.3: Since glibc 2.8, EPFNOSUPPORT error is now EAFNOSUPPORT
Glibc switched to using a POSIX-specified error code for this error case. http://bugs.linuxbase.org/show_bug.cgi?id=2375 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Stew Benedict <stewb@linux-foundation.org>
This commit is contained in:
parent
ffe8c4ae77
commit
2cbeeec32c
|
@ -6,7 +6,7 @@
|
|||
.\"
|
||||
.\" 2007-05-31, mtk: Rewrite and substantial additional text.
|
||||
.\"
|
||||
.TH BINDRESVPORT 3 2007-05-31 "" "Linux Programmer's Manual"
|
||||
.TH BINDRESVPORT 3 2008-11-10 "" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
bindresvport \- bind a socket to a privileged IP port
|
||||
.SH SYNOPSIS
|
||||
|
@ -63,7 +63,7 @@ Only root can bind to a privileged port; this call will fail for any
|
|||
other users.
|
||||
In addition, the following error may occur:
|
||||
.TP
|
||||
.B EPFNOSUPPORT
|
||||
.BR EAFNOSUPPORT " (" EPFNOSUPPORT " in glibc 2.7 and earlier)"
|
||||
.I sin
|
||||
is not NULL and
|
||||
.I sin\->sin_family
|
||||
|
|
Loading…
Reference in New Issue