blob: dda40d4a0cf99f050fb572b2ab48dbbff9763fce [file] [log] [blame]
Dmitry V. Levind590f3c2014-12-06 03:53:16 +00001#include "defs.h"
2
Dmitry V. Levina0bd3742015-04-07 01:36:50 +00003SYS_FUNC(umask)
Dmitry V. Levind590f3c2014-12-06 03:53:16 +00004{
Dmitry V. Levinff235c82015-07-16 21:27:12 +00005 tprintf("%#lo", tcp->u_arg[0]);
6
7 return RVAL_DECODED | RVAL_OCTAL;
Dmitry V. Levind590f3c2014-12-06 03:53:16 +00008}