mirror of https://git.musl-libc.org/git/musl
Browse Source
GNU used several extensions that were incompatible with C99 and POSIX, so they used alternate names for the standard functions. The result is that we need these to run standards-conformant programs that were linked with glibc.rs-1.0
13 changed files with 38 additions and 0 deletions
@ -1,7 +1,10 @@ |
|||
#include <stdio.h> |
|||
#include <stdarg.h> |
|||
#include "libc.h" |
|||
|
|||
int vscanf(const char *restrict fmt, va_list ap) |
|||
{ |
|||
return vfscanf(stdin, fmt, ap); |
|||
} |
|||
|
|||
weak_alias(vscanf,__isoc99_vscanf); |
|||
|
|||
@ -1,8 +1,11 @@ |
|||
#include <stdio.h> |
|||
#include <stdarg.h> |
|||
#include <wchar.h> |
|||
#include "libc.h" |
|||
|
|||
int vwscanf(const wchar_t *restrict fmt, va_list ap) |
|||
{ |
|||
return vfwscanf(stdin, fmt, ap); |
|||
} |
|||
|
|||
weak_alias(vwscanf,__isoc99_vwscanf); |
|||
|
|||
Loading…
Reference in new issue