bind() is failing with errno=EADDRNOTAVAIL (99); the man page forbids this
I have a tiny C program in which a bind() system call is failing
with errno=99, which is EADDRNOTAVAIL according to asm-generic/errno.h.
The bind(2) manual page, however, only allows errno values of
EACCES, EBADF, EINVAL, and ENOTSOCK for Internet-domain sockets.
What's going on? I'm running SuSe 10.0, though that shouldn't be relevant.
I don't want to know why the bind() system call is failing, incidentally
-- I know why it is failing -- I want to know why it is setting errno to
a value undocumented in the manual page.
Please send replies to jay at m5.chicago.il.us, or post them here, or both.
Thank you in advance.