libc: Add support for the new seek() system call

This commit is contained in:
apio 2022-10-12 15:32:09 +02:00
parent e40304f2f1
commit 928ade123c
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#define SYS_open 9
#define SYS_read 10
#define SYS_close 11
#define SYS_seek 12
#ifndef __want_syscalls
#ifdef __cplusplus

View File

@ -44,6 +44,7 @@ extern "C"
result = __luna_syscall2(number, arg0, arg1);
break;
}
case SYS_seek:
case SYS_write:
case SYS_read:
case SYS_mmap: {