From 31ee99a41e8050038f346ad238e0955c52fd3f92 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 1 Apr 2003 16:27:52 +0000 Subject: * libc/stdio/sscanf.c: Update flags description. * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target type. (__svfscanf_r): Add 'hh' and 'll' handling. --- newlib/libc/stdio/sscanf.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'newlib/libc/stdio/sscanf.c') diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c index 7cf897c5b..9e9718118 100644 --- a/newlib/libc/stdio/sscanf.c +++ b/newlib/libc/stdio/sscanf.c @@ -152,22 +152,31 @@ DESCRIPTION .Modifier Type(s) -. h d, i, o, u, x convert input to short, +. hh d, i, o, u, x, n convert input to char, +. store in char object +. +. h d, i, o, u, x, n convert input to short, . store in short object . . h D, I, O, U, X no effect -. e, f, c, s, n, p +. e, f, c, s, p . -. l d, i, o, u, x convert input to long, +. l d, i, o, u, x, n convert input to long, . store in long object . . l e, f, g convert input to double . store in a double object . . l D, I, O, U, X no effect -. c, s, n, p +. c, s, p +. +. ll d, i, o, u, x, n convert to long long, +. store in long long +. +. L d, i, o, u, x, n convert to long long, +. store in long long . -. L d, i, o, u, x convert to long double, +. L e, f, g, E, G convert to long double, . store in long double . . L all others no effect -- cgit v1.2.3