Print only the complete information if the fd is valid itself (in is_valid_fd).
[reactos.git] / reactos / lib / crt / io / umask.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <sys/stat.h>
3
4 unsigned _unMode_dll = 022;
5
6 /*
7 * @implemented
8 */
9 unsigned _umask (unsigned unMode)
10 {
11 unsigned old_mask = _unMode_dll;
12 _unMode_dll = unMode;
13 return old_mask;
14 }