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 ?
- To: "gnu-win32@cygnus.com" <gnu-win32@cygnus.com>
- Subject: [B20.1] gethostname : from sockets.h or unistd.h ?
- From: Chris <Christine.Pourcelot@inria.fr>
- Date: Thu, 04 Feb 1999 13:42:24 +0100
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Organization: INRIA
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