summaryrefslogtreecommitdiff
path: root/umask.c
blob: 43de25e19d66c00254ad89a320455ec0980bd676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright (c) 2014-2018 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#include "defs.h"

SYS_FUNC(umask)
{
	print_numeric_umode_t(tcp->u_arg[0]);

	return RVAL_DECODED | RVAL_OCTAL;
}