summaryrefslogtreecommitdiff
path: root/src/process/posix_spawn_file_actions_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process/posix_spawn_file_actions_destroy.c')
-rw-r--r--src/process/posix_spawn_file_actions_destroy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/process/posix_spawn_file_actions_destroy.c b/src/process/posix_spawn_file_actions_destroy.c
new file mode 100644
index 00000000..c2501ddf
--- /dev/null
+++ b/src/process/posix_spawn_file_actions_destroy.c
@@ -0,0 +1,9 @@
+#include <spawn.h>
+#include <stdlib.h>
+
+int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *fa)
+{
+ // FIXME
+ free(fa->__actions);
+ return 0;
+}