shithub: scc

ref: db5082d4c59b6350e7ab271dd751c40fddc68eb9
dir: /libc/src/syscall.h/

View raw version
/* See LICENSE file for copyright and license details. */

extern void *_brk(void *addr);
extern int _open(char *path, int flags, int perm);
extern int _close(int fd);
extern int _read(int fd, void *buf, size_t n);
extern int _write(int fd, void *buf, size_t n);
extern int _lseek(int fd, long off, int whence);
extern void _Exit(int status);
extern int raise(int sig);
extern void (*signal(int sig, void (*func)(int)))(int);