scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

syscall.h (367B)


      1 extern void *_brk(void *addr);
      2 extern int _open(char *path, int flags, int perm);
      3 extern int _close(int fd);
      4 extern int _read(int fd, void *buf, size_t n);
      5 extern int _write(int fd, void *buf, size_t n);
      6 extern int _lseek(int fd, long off, int whence);
      7 extern void _Exit(int status);
      8 extern int raise(int sig);
      9 extern void (*signal(int sig, void (*func)(int)))(int);