minix/lib/libc/posix/_umask.c

12 lines
194 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define umask _umask
#include <sys/stat.h>
PUBLIC mode_t umask(mode_t complmode)
2005-04-21 16:53:53 +02:00
{
message m;
m.m1_i1 = complmode;
return( (mode_t) _syscall(VFS_PROC_NR, UMASK, &m));
2005-04-21 16:53:53 +02:00
}