umask.c 166 B

123456789
  1. #include <unistd.h>
  2. #include <syscall.h>
  3. #include <syscall_nums.h>
  4. DEFN_SYSCALL1(umask, SYS_UMASK, int);
  5. mode_t umask(mode_t mask) {
  6. return syscall_umask(mask);
  7. }