HomeFreeBSD

gethostname() returns int, not long. Answered my own question by

Description

gethostname() returns int, not long. Answered my own question by
RTFM'ing. Either both the header files and the man pages are wrong
or this code is, and I'll take the majority decision. :-)

Details

Provenance
jkhAuthored on Dec 5 1996, 6:14 PM
Parents
rG15ba0c4e8649: make u_char * -> char * conversion explicit.
Branches
Unknown
Tags
Unknown

Event Timeline