mescc: Tinycc support: fseek stub.
* mlibc/include/stdio.h (fseek): Declare. * mlibc/libc-mes+tcc.c (fseek): Add stub.
This commit is contained in:
parent
76e97a9b08
commit
019994b8ed
|
@ -103,6 +103,7 @@ int fflush (FILE *stream);
|
|||
int fprintf (FILE *stream, char const *format, ...);
|
||||
int fputc (int c, int fd);
|
||||
int fputs (char const* s, int fd);
|
||||
int fseek (FILE *stream, long offset, int whence);
|
||||
size_t fwrite (void const *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||
int getchar ();
|
||||
int printf (char const* format, ...);
|
||||
|
|
|
@ -102,6 +102,12 @@ free (void *ptr)
|
|||
{
|
||||
}
|
||||
|
||||
int
|
||||
fseek (FILE *stream, long offset, int whence)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t
|
||||
fwrite (void const *ptr, size_t size, size_t nmemb, FILE *stream)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue