Back to index

glibc  2.9
Functions
umask.c File Reference
#include <sys/stat.h>
#include <hurd.h>

Go to the source code of this file.

Functions

mode_t __umask (mode_t mask)

Function Documentation

mode_t __umask ( mode_t  mask)

Definition at line 24 of file umask.c.

{
  mode_t omask;
  mask &= 0777;
  omask = _hurd_umask;
  _hurd_umask = mask;
  return omask;
}

Here is the caller graph for this function: