diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-04-01 16:27:52 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-04-01 16:27:52 +0000 |
commit | 31ee99a41e8050038f346ad238e0955c52fd3f92 (patch) | |
tree | 21f481aa159addaab40e6c2a36c9dc5e9972bad2 /newlib/libc/stdio/sscanf.c | |
parent | 1727fba007956454046c6cf7a34c9b229f10032e (diff) | |
download | cygnal-31ee99a41e8050038f346ad238e0955c52fd3f92.tar.gz cygnal-31ee99a41e8050038f346ad238e0955c52fd3f92.tar.bz2 cygnal-31ee99a41e8050038f346ad238e0955c52fd3f92.zip |
* 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.
Diffstat (limited to 'newlib/libc/stdio/sscanf.c')
-rw-r--r-- | newlib/libc/stdio/sscanf.c | 19 |
1 files changed, 14 insertions, 5 deletions
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 |