Luna/libluna/include/luna/Syscall.h
apio 0847cfcb65
All checks were successful
continuous-integration/drone/push Build is passing
kernel: Add a getdents() syscall
2023-03-28 21:28:56 +02:00

15 lines
507 B
C

#pragma once
#define enumerate_syscalls(_e) \
_e(exit) _e(clock_gettime) _e(mmap) _e(munmap) _e(usleep) _e(open) _e(close) _e(read) _e(getpid) _e(write) \
_e(lseek) _e(mkdir) _e(exec) _e(mknod) _e(fork) _e(waitpid) _e(getppid) _e(fcntl) _e(getdents)
enum Syscalls
{
#undef __enumerate
#define __enumerate(name) SYS_##name,
enumerate_syscalls(__enumerate)
#undef __enumerate
__count
};