Remove building with NOCRYPTO option
[minix.git] / minix / lib / libc / sys / umask.c
blob29d1413677ca012796d91c4095269d58108663ca
1 #include <sys/cdefs.h>
2 #include <lib.h>
3 #include "namespace.h"
5 #include <string.h>
6 #include <sys/stat.h>
8 mode_t umask(mode_t complmode)
10 message m;
12 memset(&m, 0, sizeof(m));
13 m.m_lc_vfs_umask.mask = complmode;
14 return( (mode_t) _syscall(VFS_PROC_NR, VFS_UMASK, &m));