site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Dec 15, 2004, at 20:31, Shantonu Sen wrote: There's 'safe' and there's "safe"; I was referring to the former :-}. Cheers, Justin On Dec 15, 2004, at 8:28 PM, Justin Walker wrote: On Dec 15, 2004, at 18:58, Andrew White wrote: int inet_aton(char * cp, struct in_addr * pin) Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | If you're not confused, | You're not paying attention *--------------------------------------*-------------------------------* _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Uh, if it's not in a public header file in /S/L/F/Kernel.framework, I wouldn't call it "safe to use" by any means... Is there a version of inet_aton which is safe to use inside an IOKit device driver? How do I include it? The kernel appears to export it, so it's safe to use. I believe the implementation uses this signature: and is found in xnu/bsd/kern/netboot.c. This, of course, may change across releases. -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | When LuteFisk is outlawed | Only outlaws will have | LuteFisk *-------------------------------------- *-------------------------------* _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ ssen%40opendarwin.org This email sent to ssen@opendarwin.org This email sent to site_archiver@lists.apple.com