scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

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:
Msrc/libc/syscall.h | 2++
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);