summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/xprintf_quote.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the %Q printf extension to behave as expectedphk2006-03-021-19/+9
|
* Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"phk2006-01-251-0/+108
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