[USER] brk syscall
This commit is contained in:
10
libc/mem.c
Normal file
10
libc/mem.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "syscalls.h"
|
||||
|
||||
long kernel_syscall(int num, ...);
|
||||
|
||||
SYSCALL_DEF(brk)
|
||||
{
|
||||
SYSCALL_INIT(unsigned long, brk);
|
||||
|
||||
return kernel_syscall(SYS_BRK, brk);
|
||||
}
|
||||
Reference in New Issue
Block a user