syscall: add lots of syscalls
This commit is contained in:
8
syscall/handle.c
Normal file
8
syscall/handle.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <kernel/sched.h>
|
||||
#include <kernel/syscall.h>
|
||||
|
||||
kern_status_t sys_kern_handle_close(kern_handle_t handle)
|
||||
{
|
||||
struct task *self = current_task();
|
||||
return task_close_handle(self, handle);
|
||||
}
|
||||
Reference in New Issue
Block a user