repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
posix
/
_umask.c
blob
c41f9757cacffa728a88e814302a4017cda4f0b9
1
#include <lib.h>
2
#define umask _umask
3
#include <sys/stat.h>
4
5
PUBLIC mode_t
umask
(
complmode
)
6
_mnx_Mode_t complmode
;
7
{
8
message m
;
9
10
m
.
m1_i1
=
complmode
;
11
return
( (
mode_t
)
_syscall
(
FS
,
UMASK
, &
m
));
12
}