Luna/libluna/include/luna/Syscall.h
apio 7e655e320a
All checks were successful
continuous-integration/drone/push Build is passing
kernel+libc: Add the lseek() syscall, and fseek, ftell, rewind, fsetpos, and fgetpos
2023-03-12 13:15:24 +01:00

15 lines
462 B
C

#pragma once
#define enumerate_syscalls(_e) \
_e(exit) _e(console_write) _e(clock_gettime) _e(allocate_memory) _e(deallocate_memory) _e(usleep) _e(open) \
_e(close) _e(read) _e(getpid) _e(write) _e(lseek)
enum Syscalls
{
#undef __enumerate
#define __enumerate(name) SYS_##name,
enumerate_syscalls(__enumerate)
#undef __enumerate
__count
};