I've scoured the ADC site for anything at all about this. Where wou
It should be in the man pages. I'll file a bug to get this fixed.
In general, if you see a __DARWIN_ALIAS() appended to the prototype
for a function, it will behave conformingly when you define
_XOPEN_SOURCE, _POSIX_C_SOURCE or _APPLE_C_SOURCE.
The latter can be used if you want non-POSIX routines available,
but want conforming behavior of things like pthread_cancel().
matt.
Thanks, Matt, for the tip.
I now see the discussion of the __DARWIN_ALIAS macro in the /usr/
include/cdefs.h header file and I see how it does the cute symbol
renaming using an __asm() directive. It would be nice if there were a
technote on ADC listing all the functions with alternative behavior
so that someone trying to look something up by function would stumble
across the note.
I suppose trying to maintain all this sort of backward & forward
compatibility makes for fun work!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden
This email sent to email@hidden