libc: Stub out ungetc()
This commit is contained in:
parent
f0eeaa25a3
commit
c02f2e128d
@ -98,6 +98,8 @@ extern "C"
|
|||||||
/* Retrieves a character from stream. */
|
/* Retrieves a character from stream. */
|
||||||
int getc(FILE* stream);
|
int getc(FILE* stream);
|
||||||
|
|
||||||
|
int ungetc(int, FILE*); // Not implemented.
|
||||||
|
|
||||||
/* Retrieves a character from standard input. */
|
/* Retrieves a character from standard input. */
|
||||||
int getchar();
|
int getchar();
|
||||||
|
|
||||||
|
@ -170,6 +170,11 @@ extern "C"
|
|||||||
return fgetc(stdin);
|
return fgetc(stdin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int ungetc(int, FILE*)
|
||||||
|
{
|
||||||
|
NOT_IMPLEMENTED("ungetc");
|
||||||
|
}
|
||||||
|
|
||||||
int ferror(FILE* stream)
|
int ferror(FILE* stream)
|
||||||
{
|
{
|
||||||
return stream->f_err;
|
return stream->f_err;
|
||||||
|
Loading…
Reference in New Issue
Block a user