shithub: scc

Download patch

ref: ae0d87a19f53e5e8690e4a41536b5a825a3d9787
parent: 9910099b383e28a0a8b9b8c26ea99a5a2d77f5b3
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Aug 28 07:52:03 EDT 2021

libc: Add _access() and _lseek() syscalls to syscall.h

These syscalls are used in several functions without a
declaration.

--- a/src/libc/syscall.h
+++ b/src/libc/syscall.h
@@ -7,3 +7,5 @@
 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);