diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-09 15:33:37 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-09 15:33:37 +0000 |
commit | 06f8a796e2d4d88cfd89b21a2b7b195c3612ba81 (patch) | |
tree | 5a5494b08edc34fc3a88ebb4769403d89df7f752 /libc/stdio/_stdio.h | |
parent | 60acdef20530daeaa65cbce8bb2a14c22bc0ed00 (diff) |
Implement hidden *scanf
Diffstat (limited to 'libc/stdio/_stdio.h')
-rw-r--r-- | libc/stdio/_stdio.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/stdio/_stdio.h b/libc/stdio/_stdio.h index 7dd105cce..13ecc3b4a 100644 --- a/libc/stdio/_stdio.h +++ b/libc/stdio/_stdio.h @@ -30,6 +30,21 @@ extern int __vfwprintf (__FILE *__restrict __s, __const wchar_t *__restrict __format, __gnuc_va_list __arg) attribute_hidden; +extern int __vfscanf (FILE *__restrict __s, __const char *__restrict __format, + __gnuc_va_list __arg) + __attribute__ ((__format__ (__scanf__, 2, 0))) attribute_hidden; + +extern int __vsscanf (__const char *__restrict __s, + __const char *__restrict __format, __gnuc_va_list __arg) + __THROW __attribute__ ((__format__ (__scanf__, 2, 0))) attribute_hidden; + +extern int __vfwscanf (__FILE *__restrict __s, + __const wchar_t *__restrict __format, + __gnuc_va_list __arg) attribute_hidden; +extern int __vswscanf (__const wchar_t *__restrict __s, + __const wchar_t *__restrict __format, + __gnuc_va_list __arg) __THROW attribute_hidden; + #ifdef __UCLIBC_HAS_WCHAR__ #include <wchar.h> #endif |