diff options
Diffstat (limited to 'src/internal/ntux_ntaio_impl.c')
-rw-r--r-- | src/internal/ntux_ntaio_impl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/ntux_ntaio_impl.c b/src/internal/ntux_ntaio_impl.c index 377a833..850a7d7 100644 --- a/src/internal/ntux_ntaio_impl.c +++ b/src/internal/ntux_ntaio_impl.c @@ -112,3 +112,8 @@ int ntux_fileno(void * any) { return (int)(intptr_t)any; } + +int ntux_fflush(FILE * file) +{ + return __sys_fsync((int)(intptr_t)file); +} |