Christopher Faylor
Tue Oct 11 21:12:00 GMT 2005

On Tue, Oct 11, 2005 at 10:54:32PM +0200, Gerrit P. Haase wrote:
>Christopher Faylor wrote:
>>On Tue, Oct 11, 2005 at 12:10:57PM -0400, Richard Campbell wrote:
>>>Brian Ford wrote:
>>>>There is almost no need for gethostbyname_r on Cygwin since its sole
>>>>purpose is to create a thread safe interface.  In most all cases, 
>>>>gethostbyname is thread safe.
>>>1) Resolving a numeric host is more common than whatever (all - "most 
>>>all") is, IMO.
>>>2) The difference between most all and all is usually horrible to track 
>>AFAIK, cygwin's gethostbyname is thread safe in all cases.
>So it would be possible to add an alias gethostbyname_r == gethostbyname
>to the list of exported functions?

Take a look at the man page for gethostbyname and gethostbyname_r.


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list