summaryrefslogtreecommitdiff
path: root/LibC
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-06 13:40:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-06 13:47:56 +0100
commitb2d23f83ab04ee1e7ca5d16ec32416939077bc4c (patch)
tree4b4bd7b7a70d693394dac0f26ae75cb7c446bd6e /LibC
parent77fe8e8363140d600c4e9cfa4b5f6212a2c71234 (diff)
downloadserenity-b2d23f83ab04ee1e7ca5d16ec32416939077bc4c.zip
Add umask().
Diffstat (limited to 'LibC')
-rw-r--r--LibC/Makefile1
-rw-r--r--LibC/sys/stat.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/LibC/Makefile b/LibC/Makefile
index a0036d427b..03f367cf58 100644
--- a/LibC/Makefile
+++ b/LibC/Makefile
@@ -23,6 +23,7 @@ LIBC_OBJS = \
times.o \
termcap.o \
setjmp.o \
+ stat.o \
entry.o
OBJS = $(AK_OBJS) $(LIBC_OBJS)
diff --git a/LibC/sys/stat.h b/LibC/sys/stat.h
index e69de29bb2..902e63268d 100644
--- a/LibC/sys/stat.h
+++ b/LibC/sys/stat.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
+__BEGIN_DECLS
+
+mode_t umask(mode_t);
+
+__END_DECLS