global cleanup to use the new syscall interface
[musl] / src / stdio / __stdio_read.c
1 #include "stdio_impl.h"
2
3 size_t __stdio_read(FILE *f, unsigned char *buf, size_t len)
4 {
5         return syscall(SYS_read, f->fd, buf, len);
6 }