mescc: Tinycc support: fflush stub.
* mlibc/include/stdio.h (fflush): Declare. * mlibc/libc-mes+tcc.c (fflush): Add stub.
This commit is contained in:
parent
ff16c5a31f
commit
f711b2f005
|
@ -98,6 +98,7 @@ typedef unsigned long size_t;
|
|||
int eputs (char const* s);
|
||||
int fclose (FILE *stream);
|
||||
FILE *fdopen (int fd, char const *mode);
|
||||
int fflush (FILE *stream);
|
||||
int fprintf (FILE *stream, char const *format, ...);
|
||||
int fputc (int c, int fd);
|
||||
int fputs (char const* s, int fd);
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
*/
|
||||
|
||||
#include <libc-mes.c>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -77,6 +78,12 @@ fdopen (int fd, char const *mode)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
fflush (FILE *stream)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
fprintf (FILE *stream, char const *format, ...)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue