mirror of
https://github.com/fluencelabs/musl
synced 2025-05-17 01:31:28 +00:00
add missing posix_spawnattr_init/destroy functions
This commit is contained in:
parent
801b311a5b
commit
0f1ef81462
6
src/process/posix_spawnattr_destroy.c
Normal file
6
src/process/posix_spawnattr_destroy.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <spawn.h>
|
||||||
|
|
||||||
|
int posix_spawnattr_destroy(posix_spawnattr_t *attr)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
7
src/process/posix_spawnattr_init.c
Normal file
7
src/process/posix_spawnattr_init.c
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include <spawn.h>
|
||||||
|
|
||||||
|
int posix_spawnattr_init(posix_spawnattr_t *attr)
|
||||||
|
{
|
||||||
|
*attr = (posix_spawnattr_t){ 0 };
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user