Thank you for responding. I am trying to use os_log, but run into an issue. The fmt I am using is a string and not a string literal. So for example if I use os_log(OS_LOG_DEFAULT, "%d %d", parm[0], parm [1]); . Xcode is totally OK with that. However if I use the (const char *) fmt_buffer, Xcode complains (Array initializer must be an initializer list or string literal). For example, os_log(OS_LOG_DEFAULT, fmt_buffer, parm[0], parm[1]); Doc says that os_log should accept a constant string, but I can't get it to work.
Topic:
App & System Services
SubTopic:
Drivers
Tags: