update for HEAD-2003091401
[reactos.git] / lib / msvcrt / io / umask.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/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 }