diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-15 15:07:56 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-02-15 15:07:56 +0100 |
| commit | 1645da679ce50b13b6f19a062eabd2d869762a07 (patch) | |
| tree | 37e19f84000df69bb2a7d88a2f3db800ead6a85a /lib/sys/read.h | |
| parent | 3a369468f7daae5b3a60feaa50c6050b240be6d4 (diff) | |
add framebuffer image support
Diffstat (limited to 'lib/sys/read.h')
| -rw-r--r-- | lib/sys/read.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sys/read.h b/lib/sys/read.h index 61e5576..b7d0851 100644 --- a/lib/sys/read.h +++ b/lib/sys/read.h @@ -1,8 +1,9 @@ #ifndef READ_H #define READ_H #include "syscalls.h" +#include "sizes.h" -static int read(unsigned int fd, char * buf, unsigned long count) +static u64 read(unsigned int fd, char * buf, unsigned long count) { return syscall(READ, fd, buf, count, 0, 0); } |