commit ae0d87a19f53e5e8690e4a41536b5a825a3d9787
parent 9910099b383e28a0a8b9b8c26ea99a5a2d77f5b3
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 28 Aug 2021 11:52:03 +0200
libc: Add _access() and _lseek() syscalls to syscall.h
These syscalls are used in several functions without a
declaration.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/libc/syscall.h b/src/libc/syscall.h
@@ -7,3 +7,5 @@ extern int _open(const char *, int, int);
extern int _read(int, void *, size_t);
extern int _unlink(const char *);
extern int _write(int, void *, size_t);
+extern int _access(const char *, int);
+extern long _lseek(int, long, int);