Hello Alex and Alyssa, On 4/5/21 3:13 PM, Alejandro Colomar wrote: > From: Alyssa Ross <hi@xxxxxxxxx> > > My initial reading of this was that type modifiers were probably not > supported. But they are, and this is actually documented further up, > in the type modifiers documentation. But to make it clearer, let's > copy the language that printf(3) has in its %n section. > > Signed-off-by: Alyssa Ross <hi@xxxxxxxxx> > Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> > --- > man3/scanf.3 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/man3/scanf.3 b/man3/scanf.3 > index e6d00c9f1..bd49a6caf 100644 > --- a/man3/scanf.3 > +++ b/man3/scanf.3 > @@ -526,7 +526,9 @@ the next pointer must be a pointer to a pointer to > Nothing is expected; instead, the number of characters consumed thus far > from the input is stored through the next pointer, which must be a pointer > to > -.IR int . > +.IR int , > +or variant whose size matches the (optionally) > +supplied integer length modifier. > This is > .I not > a conversion and does Thanks. Patch applied. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/