mescc: Tinycc support: fwrite.
* mlibc/libc-mes+tcc.c (fwrite): Implement.
This commit is contained in:
parent
63eded82e1
commit
6b5fcfb814
|
@ -161,8 +161,8 @@ ftell (FILE *stream)
|
||||||
size_t
|
size_t
|
||||||
fwrite (void const *ptr, size_t size, size_t nmemb, FILE *stream)
|
fwrite (void const *ptr, size_t size, size_t nmemb, FILE *stream)
|
||||||
{
|
{
|
||||||
eputs ("fwrite stub\n");
|
int fd = (int)stream;
|
||||||
return 0;
|
return write (fd, ptr, size * nmemb);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in a new issue