Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <36B995B0.18F7C852@inria.fr> Date: Thu, 04 Feb 1999 13:42:24 +0100 From: Chris Organization: INRIA X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "gnu-win32 AT cygnus DOT com" Subject: [B20.1] gethostname : from sockets.h or unistd.h ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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