From 14a164a726b944cb6f2963721b01d5a593dd7398 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 12 Mar 2009 14:30:28 +0000 Subject: * libc/stdio/swscanf.c: Some documentation corrections. --- newlib/libc/stdio/swscanf.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'newlib/libc/stdio') diff --git a/newlib/libc/stdio/swscanf.c b/newlib/libc/stdio/swscanf.c index e4e251f95..273f59b32 100644 --- a/newlib/libc/stdio/swscanf.c +++ b/newlib/libc/stdio/swscanf.c @@ -229,7 +229,9 @@ DESCRIPTION enough to accept the sequence and a terminating null character which will be added automatically. (<[pattern]> is discussed in the paragraph following - this table). Corresponding <[arg]>: <<(char *arg)>>. + this table). Corresponding <[arg]>: <<(char *arg)>>. + If an <> specifier is present, the corresponding <[arg]> is + a <<(wchar_t *arg)>>. o d Reads a decimal integer into the corresponding <[arg]>: <<(int *arg)>>. @@ -280,7 +282,7 @@ DESCRIPTION Here are some <[pattern]> examples: o+ o %[abcd] - matches wide wide character strings containing only + matches wide character strings containing only <>, <>, <>, and <>. o %[^abcd] @@ -290,6 +292,7 @@ DESCRIPTION o %[A-DW-Z] Note: No wide character ranges, so this expression matches wide character strings containing <>, <<->>, <>, <>, <>. + o- Floating point numbers (for field types <>, <>, <>, <>, <>, <>) must correspond to the following general form: -- cgit v1.2.3