aboutsummaryrefslogtreecommitdiffstats
path: root/umask.c
blob: cc00cc6a03c9d5f7bfdcb2e01569aa0783f0a215 (plain)
1
2
3
4
5
6
7
8
9
10
#include "defs.h"

int
sys_umask(struct tcb *tcp)
{
	if (entering(tcp)) {
		tprintf("%#lo", tcp->u_arg[0]);
	}
	return RVAL_OCTAL;
}