<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdio/xprintf_errno.c, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2006-01-25T12:45:24Z</updated>
<entry>
<title>Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"</title>
<updated>2006-01-25T12:45:24Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2006-01-25T12:45:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6dbacee284ac789077c3f2a181437ff5a7ebb3b8'/>
<id>urn:sha1:6dbacee284ac789077c3f2a181437ff5a7ebb3b8</id>
<content type='text'>
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.
</content>
</entry>
</feed>
