source:
trunk/minix/lib/posix/_umask.c@
15
| Last change on this file since 15 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 201 bytes | |
| Line | |
|---|---|
| 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 | } |
Note:
See TracBrowser
for help on using the repository browser.