commit f129ac0f17718ed25d141fae62217cdb1bcbc934
parent 2e1f316f3b1fac90b10a89845ef59c171e4b6b9f
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);