summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/umask.c
blob: 0fab82442185d7215af272246ac5a47fd0c48481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * umask() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <sys/stat.h>

_syscall_noerr1(mode_t, umask, mode_t, mode)