correctly handle write errors encountered by printf-family functions
[oweals/musl.git] / src / stdio / __stdio_close.c
1 #include "stdio_impl.h"
2
3 int __stdio_close(FILE *f)
4 {
5         return syscall(SYS_close, f->fd);
6 }