add missing posix_spawnattr_init/destroy functions

This commit is contained in:
Rich Felker 2011-09-13 14:45:59 -04:00
parent 801b311a5b
commit 0f1ef81462
2 changed files with 13 additions and 0 deletions

View File

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

View File

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