On 2009 Apr 16, at 12:40, Todd Heberlein wrote:
err = asl_log(asl, aslMsg, ASL_LEVEL_ERR, "Request failed: %m");
...
err = asl_log(asl, aslMsg, ASL_LEVEL_ERR, errStr);
Is there a requirement that [a] at compile time the <format> field
be known (as in the first example), or [b] can it also be generated
at run time (as in the second condition)?
Looks like the answer, by example, is (b), Todd. If you have any
doubts, you can get the documentation for asl_log by option-clicking
it in Xcode, or in Xcode's Help menu click "Open man page", then type
in asl_log.
If the documentation is ambiguous, as it sometimes is on these bsd-
level functions, I believe the appropriate place to ask questions
would be [email protected]. They give good help over there.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]