I could create a patch, but the change is so small I don't know if
it's of any use. :)
Also, the man-page could use some fleshing out (the arguments to the
function in question could be explained a bit better), but as this is
my first ever contribution to an OSS project, I'd be happy if somebody
could tell me if such a contribution would be welcomed.

The man-page specifically mentions that the prototypes conform to BSD.
It also mentions that socklen_t is the correct type for POSIX in the
NOTES.
man 3p gethostbyname
should be used to refer to the POSIX man pages.

Note

You need to
log in
before you can comment on or make changes to this bug.