mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-20 21:39:21 +08:00
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);
|
|
}
|