Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
4973 |
right-hear |
1 |
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ |
|
|
2 |
#include |
|
|
3 |
|
|
|
4 |
mode_t |
|
|
5 |
umask(mode_t newmask) |
|
|
6 |
{ |
|
|
7 |
static mode_t the_mask = 022; |
|
|
8 |
mode_t old_mask = the_mask; |
|
|
9 |
the_mask = newmask; |
|
|
10 |
return old_mask; |
|
|
11 |
} |