10 lines
166 B
C
10 lines
166 B
C
|
#include <unistd.h>
|
||
|
#include <syscall.h>
|
||
|
#include <syscall_nums.h>
|
||
|
|
||
|
DEFN_SYSCALL1(umask, SYS_UMASK, int);
|
||
|
|
||
|
mode_t umask(mode_t mask) {
|
||
|
return syscall_umask(mask);
|
||
|
}
|