diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-09-18 19:28:07 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-09-18 19:28:07 +0000 |
commit | c53cb20d206862145fddcdc450caeec642fc1ee8 (patch) | |
tree | a10f9963619d8504cf0d052dca1079280a0229d9 /lib/libc/stdio/printf.3 | |
parent | c28052ac927ad945292f0c0f549af6cdd6b28975 (diff) |
Add 'z' and 't' modifiers for printing size_t and ptrdiff_t.
ok millert@ deraadt@
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r-- | lib/libc/stdio/printf.3 | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 8cc10f393d2..4dc381043ef 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.43 2003/08/17 17:08:09 grange Exp $ +.\" $OpenBSD: printf.3,v 1.44 2004/09/18 19:28:06 otto Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -394,6 +394,47 @@ The use of .Cm q has been deprecated as conversion character. .It +The optional character +.Cm t , +specifying that a following +.Cm d , +.Cm i , +.Cm o , +.Cm u , +.Cm x , +or +.Cm X +conversion corresponds to a +.Em ptrdiff_t +or +the corresponding unsigned integer type +argument, or that a following +.Cm n +conversion corresponds to a pointer to a +.Em ptrdiff_t +argument. +.It +The optional character +.Cm z , +specifying that a following +.Cm d , +.Cm i , +.Cm o , +.Cm u , +.Cm x , +or +.Cm X +conversion corresponds to a +.Em size_t +or +the corresponding signed integer type +argument, or that a following +.Cm n +conversion corresponds to a pointer to a +signed integer type corresponding to +.Em size_t +argument. +.It The character .Cm L specifying that a following |