mescc: Tinycc support: fwrite stub.
* mlibc/include/stdio.h (fwrite): Declare. * mlibc/libc-mes+tcc.c (fwrite): Add stub.
This commit is contained in:
parent
15a9452d33
commit
b860cb7a17
|
@ -99,6 +99,7 @@ int eputs (char const* s);
|
||||||
int fprintf (FILE *stream, char const *format, ...);
|
int fprintf (FILE *stream, char const *format, ...);
|
||||||
int fputc (int c, int fd);
|
int fputc (int c, int fd);
|
||||||
int fputs (char const* s, int fd);
|
int fputs (char const* s, int fd);
|
||||||
|
size_t fwrite (void const *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||||
int getchar ();
|
int getchar ();
|
||||||
int printf (char const* format, ...);
|
int printf (char const* format, ...);
|
||||||
int putchar (int c);
|
int putchar (int c);
|
||||||
|
|
|
@ -49,6 +49,12 @@ fprintf (FILE *stream, char const *format, ...)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t
|
||||||
|
fwrite (void const *ptr, size_t size, size_t nmemb, FILE *stream)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
struct tm *
|
struct tm *
|
||||||
localtime (time_t const *timep)
|
localtime (time_t const *timep)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue