According to the man page on my system:

"syslog()  generates  a  log message, which will be distributed by
syslogd(8).  The priority argument is formed by ORing the facility and
the level values (explained below).  The remaining arguments are a
format, as in printf(3) and any arguments required by the format,
except that the two character sequence %m will be replaced by the
error message string strerror(errno).  A trailing newline may be added
if needed."

~Ryan


On Thu, Jul 16, 2009 at 11:15 AM, D. Shifflett<[email protected]> wrote:
>
> Hi all,
> I have tried to find documentation on the format specifier '%m'
> when passed to syslog(3) [e.g. syslog(LOG_INFO, "oops %m"); ]
>
> Where is it documented what the %m is supposed to be translated into?
>
> Thanks for any help,
> dave
>
> >
>



-- 
http://rmgraham.blogspot.com
http://twitter.com/rmgraham

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to