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