add missing posix_spawnattr_init/destroy functions

This commit is contained in:
Rich Felker committed 2011-09-13 14:45:59 -04:00
1 parent 801b311a5b
commit 0f1ef81462
2 files changed
+13

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#include <spawn.h>
int posix_spawnattr_destroy(posix_spawnattr_t *attr)
{
return 0;
}
+7
View File
@@ -0,0 +1,7 @@
#include <spawn.h>
int posix_spawnattr_init(posix_spawnattr_t *attr)
{
*attr = (posix_spawnattr_t){ 0 };
return 0;
}