>Synopsis: socket.2 does not document invalid domain errno
System : OpenBSD 3.9
Machine : i386
socket.2 does not mention the errno set by an invalid domain.
The code is EPROTONOSUPPORT, which is currently documented
"[t]he protocol type or the specified protocol is not support-
ed within this domain".
It should include something along the lines of "or invalid domain
Should this not return an EINVAL? The errno documentation does
not mention bad socket domains as a reason, only protocols.