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:
Michael Kerrisk 2008-11-10 12:12:02 -05:00
parent ffe8c4ae77
commit 2cbeeec32c
1 changed files with 2 additions and 2 deletions

View File

@ -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