mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added stubs for fscanf(3) and mbtowc(3).
This helps gzip build.
This commit is contained in:
parent
622e0176e3
commit
6eb6a14ace
1 changed files with 12 additions and 0 deletions
|
@ -367,6 +367,18 @@ retry:
|
||||||
{
|
{
|
||||||
return 0x10000;
|
return 0x10000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" int fscanf(FILE* /*fp*/, const char* /*format*/, ...)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "fscanf(3) is not implemented\n");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
|
|
||||||
|
extern "C" int mbtowc(wchar_t* /*pwd*/, const char* /*s*/, size_t /*n*/)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "mbtowc(3) is not implemented\n");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue