delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/11/10:41:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 11 Oct 2005 10:41:12 -0400 (EDT)
From: Jason Pyeron <jpyeron AT pdinc DOT us>
To: cygwin AT cygwin DOT com
Subject: Re: gethostbyname_r
In-Reply-To: <20051011143306.GI12938@calimero.vinschen.de>
Message-ID: <Pine.LNX.4.62.0510111037280.8152@ns.pyerotechnics.com>
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0510111013570 DOT 8152 AT ns DOT pyerotechnics DOT com> <20051011143306 DOT GI12938 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

On Tue, 11 Oct 2005, Corinna Vinschen wrote:

> On Oct 11 10:15, Jason Pyeron wrote:
>>
>> I am tring to port an application, but I cant seem to find the glibc2
>> gethostbyname_r function.
>
> It doesn't exist on Cygwin.
>

so is this the only way to go? has any one verified the code?

http://www.cygwin.com/ml/cygwin/2004-04/msg00532.html

how come it never made it in?

http://www.cygwin.com/ml/cygwin/2004-04/msg00540.html

or since it is just calling the windows api, can I

#define gethostbyname_r gethostbyname

-jason

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019