10 lines
219 B
C
10 lines
219 B
C
|
#include <machine/syscall.h>
|
||
|
#include <sys/types.h>
|
||
|
#include "internal_syscall.h"
|
||
|
|
||
|
/* Read from a file. */
|
||
|
ssize_t _read(int file, void *ptr, size_t len)
|
||
|
{
|
||
|
return syscall_errno (SYS_read, file, ptr, len, 0, 0, 0);
|
||
|
}
|