initial implementation of posix_spawn
[musl] / src / process / posix_spawnattr_getsigmask.c
diff --git a/src/process/posix_spawnattr_getsigmask.c b/src/process/posix_spawnattr_getsigmask.c
new file mode 100644 (file)
index 0000000..b449075
--- /dev/null
@@ -0,0 +1,7 @@
+#include <spawn.h>
+
+int posix_spawnattr_getsigmask(const posix_spawnattr_t *attr, sigset_t *mask)
+{
+       *mask = attr->__mask;
+       return 0;
+}