diff options
author | phk <phk@FreeBSD.org> | 2006-01-25 12:45:24 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-01-25 12:45:24 +0000 |
commit | a6d0508dd8c4beb88be6d5ca4b35e12db40e8312 (patch) | |
tree | 8b1b9e153704a2e4059c4a81c88f8bdaa0817a60 /lib/libc/stdio/Makefile.inc | |
parent | b52efc57bec49fd584f1580087664aff15a10168 (diff) | |
download | FreeBSD-src-a6d0508dd8c4beb88be6d5ca4b35e12db40e8312.zip FreeBSD-src-a6d0508dd8c4beb88be6d5ca4b35e12db40e8312.tar.gz |
Make the %V{is} extension handle a NULL pointer like %s does: output "(null)"
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.
Diffstat (limited to 'lib/libc/stdio/Makefile.inc')
-rw-r--r-- | lib/libc/stdio/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/Makefile.inc b/lib/libc/stdio/Makefile.inc index 495c85f..357bfa9 100644 --- a/lib/libc/stdio/Makefile.inc +++ b/lib/libc/stdio/Makefile.inc @@ -24,7 +24,8 @@ SRCS+= _flock_stub.c asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c \ wsetup.c SRCS+= xprintf.c xprintf_float.c xprintf_int.c xprintf_str.c -SRCS+= xprintf_hexdump.c xprintf_time.c xprintf_vis.c +SRCS+= xprintf_errno.c xprintf_hexdump.c xprintf_quote.c +SRCS+= xprintf_time.c xprintf_vis.c MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \ flockfile.3 \ |