summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process/posix_spawnattr_destroy.c6
-rw-r--r--src/process/posix_spawnattr_init.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/src/process/posix_spawnattr_destroy.c b/src/process/posix_spawnattr_destroy.c
new file mode 100644
index 00000000..fc714a1b
--- /dev/null
+++ b/src/process/posix_spawnattr_destroy.c
@@ -0,0 +1,6 @@
+#include <spawn.h>
+
+int posix_spawnattr_destroy(posix_spawnattr_t *attr)
+{
+ return 0;
+}
diff --git a/src/process/posix_spawnattr_init.c b/src/process/posix_spawnattr_init.c
new file mode 100644
index 00000000..0dcd868f
--- /dev/null
+++ b/src/process/posix_spawnattr_init.c
@@ -0,0 +1,7 @@
+#include <spawn.h>
+
+int posix_spawnattr_init(posix_spawnattr_t *attr)
+{
+ *attr = (posix_spawnattr_t){ 0 };
+ return 0;
+}