Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #include <unistd.h> |
2 | #include "syscall.h" | ||||
3 | #include "libc.h" | ||||
4 | |||||
5 | ssize_t read(int fd, void *buf, size_t count) | ||||
6 | { | ||||
Rich Felker | feee989 | 2011-04-17 11:43:03 -0400 | [diff] [blame] | 7 | return syscall_cp(SYS_read, fd, buf, count); |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 8 | } |