blob: cd9d4bf4b8b5fd0a53ba1b0564d87a5af1148998 (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_read
#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h> // for read, size_t, ssize_t
ssize_t read(int fildes, void *buf, size_t nbyte)
{
return syscall(read, fildes, buf, nbyte);
}
|