printf.3: Note use of 'j', 'z', and 't' length modifiers for '%n'

See http://bugs.debian.org/756602

Reported-by: Jakub Wilk <jwilk@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-08-01 15:06:39 +02:00
parent 9cc5e8b790
commit c271056c86
1 changed files with 12 additions and 0 deletions

View File

@ -527,6 +527,10 @@ A following integer conversion corresponds to an
.I intmax_t
or
.I uintmax_t
argument, or a following
.B n
conversion corresponds to a pointer to an
.I intmax_t
argument.
.TP
.B z
@ -534,6 +538,10 @@ A following integer conversion corresponds to a
.I size_t
or
.I ssize_t
argument, or a following
.B n
conversion corresponds to a pointer to a
.I size_t
argument.
.\" (Linux libc5 has
.\" .B Z
@ -543,6 +551,10 @@ argument.
.B t
A following integer conversion corresponds to a
.I ptrdiff_t
argument, or a following
.B n
conversion corresponds to a pointer to a
.I ptrdiff_t
argument.
.PP
SUSv2 knows about only the length modifiers