Struct std::SyscallTable
struct SyscallTable {
?fn long long(long long, long long, long long) handlers[SYSCALL_MAX];
int count;
}Fields
null = none
number of registered syscalls
Methods
Dispatch a syscall. Returns the handler's return value, or -1 if not registered.
Check if a syscall number is registered.
Initialize syscall table (all entries NULL).