minix/lib/libc/posix/_umask.c
2010-06-08 13:58:01 +00:00

11 lines
194 B
C

#include <lib.h>
#define umask _umask
#include <sys/stat.h>
PUBLIC mode_t umask(mode_t complmode)
{
message m;
m.m1_i1 = complmode;
return( (mode_t) _syscall(VFS_PROC_NR, UMASK, &m));
}