This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

[B20.1] gethostname : from sockets.h or unistd.h ?



Hi,
Now, I got a "conflicting types" for gethostname between sockets and
unistd.


unistd : int	_EXFUN(gethostname, (char *__name, size_t __len));

sockets : int PASCAL gethostname (char * name, int namelen);

which on shall I use ?


Regards

-- 
Christine Pourcelot
Stagiaire projet CODES
INRIA ROCQUENCOURT