diff options
Diffstat (limited to 'userland/libc/include')
-rw-r--r-- | userland/libc/include/stdio.h | 1 | ||||
-rw-r--r-- | userland/libc/include/syscall.h | 3 | ||||
-rw-r--r-- | userland/libc/include/time.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/userland/libc/include/stdio.h b/userland/libc/include/stdio.h index b0bfbd1..aebf086 100644 --- a/userland/libc/include/stdio.h +++ b/userland/libc/include/stdio.h @@ -68,7 +68,6 @@ int puts(const char *s); int brk(void *addr); void *sbrk(intptr_t increment); int printf(const char *format, ...); -int mread(int fd, void *buf, size_t count, int blocking); int pread(int fd, void *buf, size_t count, size_t offset); int read(int fd, void *buf, size_t count); int fork(void); diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h index fee2e43..e1c0b07 100644 --- a/userland/libc/include/syscall.h +++ b/userland/libc/include/syscall.h @@ -6,7 +6,7 @@ #include <sys/types.h> #define SYS_OPEN 0 -#define SYS_MREAD 1 +#define SYS_READ 1 #define SYS_WRITE 2 #define SYS_PREAD 3 #define SYS_PWRITE 4 @@ -46,6 +46,7 @@ #define SYS_CONNECT 38 #define SYS_SETSOCKOPT 39 #define SYS_GETPEERNAME 40 +#define SYS_FCNTL 41 int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx, uint32_t esi, uint32_t edi); diff --git a/userland/libc/include/time.h b/userland/libc/include/time.h index 567e9ef..b494f6c 100644 --- a/userland/libc/include/time.h +++ b/userland/libc/include/time.h @@ -4,6 +4,7 @@ #include <stddef.h> #define CLOCK_REALTIME 0 +#define CLOCK_MONOTONIC_RAW 1 struct tm { int tm_sec; |