site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Aug 20, 2006, at 3:17 AM, Uli Kusterer wrote: int main() or int main( int argc, const char* argv* ) Last I knew, that was a part of the C language standard. Cheers, davez _______________________________________________ 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... you know how main() can be declared with varying parameter counts, like and even more. Does this work for any function? If I pass a function more parameters than it actually uses, is that safe with OS X's current Mach-O ABIs? And it works too. Lots of Unix APIs depends on that. Off the top of my head, the third argument of open() is optional and signal handers were originally defined to take one argument, but now they take three. Old handlers will obviously work, since they ignore the second and third arguments. This email sent to site_archiver@lists.apple.com