summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/syscall.h1
-rw-r--r--userland/libc/include/unistd.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index 245b482..201ff3d 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -58,6 +58,7 @@
#define SYS_QUEUE_WAIT 47
#define SYS_MUNMAP 48
#define SYS_OPEN_PROCESS 49
+#define SYS_LSEEK 50
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/unistd.h b/userland/libc/include/unistd.h
index d6811b8..f3e0f28 100644
--- a/userland/libc/include/unistd.h
+++ b/userland/libc/include/unistd.h
@@ -30,4 +30,5 @@ int pread(int fd, void *buf, size_t count, size_t offset);
int fork(void);
int write(int fd, const char *buf, size_t count);
int pwrite(int fd, const char *buf, size_t count, size_t offset);
+off_t lseek(int fildes, off_t offset, int whence);
#endif