11 lines
257 B
C
11 lines
257 B
C
|
#include <errno.h>
|
||
|
#include <syscall.h>
|
||
|
#include <syscall_nums.h>
|
||
|
#include <sys/sysfunc.h>
|
||
|
|
||
|
DEFN_SYSCALL2(system_function, SYS_SYSFUNC, int, char **);
|
||
|
|
||
|
extern int sysfunc(int command, char ** args) {
|
||
|
__sets_errno(syscall_system_function(command, args));
|
||
|
}
|