libc: Add support for the new seek() system call
This commit is contained in:
parent
e40304f2f1
commit
928ade123c
@ -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
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user