retire BIOS_SEG and umap_bios
[minix3.git] / lib / libc / sys-minix / umask.c
blobe9cd43f4c8953fe8524fe1b916ab9d015e056cd8
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #include <sys/stat.h>
7 #ifdef __weak_alias
8 __weak_alias(umask, _umask)
9 #endif
11 mode_t umask(mode_t complmode)
13 message m;
15 m.m1_i1 = complmode;
16 return( (mode_t) _syscall(VFS_PROC_NR, UMASK, &m));