Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gethostbyname_r



I'm trying to port something which uses gethostbyname_r()
to Darwin.   

On FreeBSD, gethostbyname() is supposted to be thread safe (and uses
per-thread storage).  Is the same true for Darwin?

Strangely, I cannot seem to find the source, so I cannot check
this out for myself.  The Libc project mentions gethostbyname
in CLIB-LIST, sys/CLIB-LIST, and a few man pages, but I
can't find the source to it.

Thanks,

Drew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.