toaruos/libc/unistd/umask.c

10 lines
166 B
C
Raw Normal View History

2018-06-25 10:28:13 +03:00
#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);
}