aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/umask.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/guts/umask.c')
-rw-r--r--ports/unix/guts/umask.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/unix/guts/umask.c b/ports/unix/guts/umask.c
new file mode 100644
index 0000000..6b060d3
--- /dev/null
+++ b/ports/unix/guts/umask.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2014 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * mode_t umask(mode_t mask)
+ * mode_t rc = 0;
+ */
+
+ pseudo_umask = mask;
+ rc = real_umask(mask);
+
+/* return rc;
+ * }
+ */