summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/xprintf_errno.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"phk2006-01-251-0/+65
Add %M{essage} extension which prints an errno value as the corresponding string if possible or numerically otherwise. It is not currently possible to do the syslog(3) like %m extension because errno would need to get capatured on entry to the first function in the printf family, so %M requires you to supply errno as an argument. Add %Q{uote} extension which will print a string in double quotes with appropriate back-slash escapes (only) if necessary.
OpenPOWER on IntegriCloud