minix/lib/posix/_umask.c

13 lines
201 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(complmode)
_mnx_Mode_t complmode;
2005-04-21 16:53:53 +02:00
{
message m;
m.m1_i1 = complmode;
return( (mode_t) _syscall(FS, UMASK, &m));
}