about summary refs log tree commit diff
path: root/src/stdio/__scanf.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-17 14:19:46 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-17 14:19:46 -0400
commit73ec1d0495bb676012fd69491900ca8beb989ef7 (patch)
tree5cd15ae1c3b430b7703cdb919a09998f1ffa8577 /src/stdio/__scanf.h
parent8b57a81577980e4b440addaa8f2bbed454be2a59 (diff)
downloadmusl-73ec1d0495bb676012fd69491900ca8beb989ef7.tar.gz
musl-73ec1d0495bb676012fd69491900ca8beb989ef7.tar.xz
musl-73ec1d0495bb676012fd69491900ca8beb989ef7.zip
introduce new wide scanf code and remove the last remnants of old scanf
at this point, strto* and all scanf family functions are using the new
unified integer and floating point parser/converter code.

the wide scanf is largely a wrapper for ordinary byte-based scanf;
since numbers can only contain ascii characters, only strings need to
be handled specially.
Diffstat (limited to 'src/stdio/__scanf.h')
-rw-r--r--src/stdio/__scanf.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/stdio/__scanf.h b/src/stdio/__scanf.h
deleted file mode 100644
index e549b979..00000000
--- a/src/stdio/__scanf.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <wchar.h>
-
-typedef struct rctx
-{
-	void (*read)(struct rctx *);
-	void *opaque;
-	int wide;
-	int (*is_space)();
-	int l;
-	int e;
-	int c;
-	int u;
-	int w;
-} rctx_t;
-
-int __scanf(rctx_t *, const wchar_t *, va_list);