OrionLibC
Barry Updating libc for pipes and signals ad9b6af (2 years, 2 months ago)#ifndef _SYS_SYSCALL_H #define _SYS_SYSCALL_H enum SystemCall { /* Tasking */ SYSCALL_DBGPRINTF, SYSCALL_CLONE, SYSCALL_EXIT, SYSCALL_GETPID, SYSCALL_GETUID, SYSCALL_SETUID, SYSCALL_GETEUID, SYSCALL_SETEUID, SYSCALL_GETGID, SYSCALL_SETGID, SYSCALL_GETEGID, SYSCALL_SETEGID, SYSCALL_EXECVE, SYSCALL_WAITPID, SYSCALL_TGKILL, SYSCALL_KILL, SYSCALL_SIGNAL, SYSCALL_SIGPROCMASK, SYSCALL_TIME, SYSCALL_TIMES, SYSCALL_SLEEP, /* Files */ SYSCALL_OPEN, SYSCALL_CLOSE, SYSCALL_READ, SYSCALL_WRITE, SYSCALL_IOCTL, SYSCALL_LSEEK, SYSCALL_STAT, SYSCALL_FSTAT, SYSCALL_GETDENTS, SYSCALL_MKDIR, SYSCALL_RMDIR, SYSCALL_MKNOD, SYSCALL_RENAME, SYSCALL_DUP, SYSCALL_DUP2, SYSCALL_ISATTY, SYSCALL_PIPE, /* File System */ SYSCALL_MOUNT, SYSCALL_CHDIR, SYSCALL_CHROOT, SYSCALL_GETCWD, /* Memory */ SYSCALL_MMAP, /* Messaging */ SYSCALL_NB_SEND_MSG, SYSCALL_SEND_MSG, SYSCALL_NB_RECV_MSG, SYSCALL_RECV_MSG, }; #endif