mescc: Tinycc support: fopen stub.
* mlibc/include/stdio.h (fopen): Declare. * mlibc/libc-mes+tcc.c (fopen): Add stub.
This commit is contained in:
parent
fd63f744f7
commit
76e97a9b08
|
@ -99,6 +99,7 @@ int eputs (char const* s);
|
|||
int fclose (FILE *stream);
|
||||
FILE *fdopen (int fd, char const *mode);
|
||||
int fflush (FILE *stream);
|
||||
FILE *fopen (char const *pathname, char const *mode);
|
||||
int fprintf (FILE *stream, char const *format, ...);
|
||||
int fputc (int c, int fd);
|
||||
int fputs (char const* s, int fd);
|
||||
|
|
|
@ -85,6 +85,12 @@ fflush (FILE *stream)
|
|||
return 0;
|
||||
}
|
||||
|
||||
FILE *
|
||||
fopen (char const *pathname, char const *mode)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
fprintf (FILE *stream, char const *format, ...)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue