meta: move photon/libc to root
This commit is contained in:
13
libc/stdio/fflush.c
Normal file
13
libc/stdio/fflush.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <__fio.h>
|
||||
|
||||
int fflush(FILE *fp)
|
||||
{
|
||||
int res = __fio_flush(fp);
|
||||
if (res != 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user