summaryrefslogtreecommitdiff
path: root/src/stdio/__stdio_read.c
blob: d9bb3269c41821031be8e5c8e1d95020fbe03218 (plain) (blame)
1
2
3
4
5
6
#include "stdio_impl.h"

size_t __stdio_read(FILE *f, unsigned char *buf, size_t len)
{
	return syscall(SYS_read, f->fd, buf, len);
}