summaryrefslogtreecommitdiff
path: root/src/process/posix_spawnattr_getsigdefault.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/posix_spawnattr_getsigdefault.c')
-rw-r--r--src/process/posix_spawnattr_getsigdefault.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/process/posix_spawnattr_getsigdefault.c b/src/process/posix_spawnattr_getsigdefault.c
new file mode 100644
index 00000000..5f0dfb58
--- /dev/null
+++ b/src/process/posix_spawnattr_getsigdefault.c
@@ -0,0 +1,7 @@
+#include <spawn.h>
+
+int posix_spawnattr_getsigdefault(const posix_spawnattr_t *attr, sigset_t *def)
+{
+ *def = attr->__def;
+ return 0;
+}