projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initial implementation of posix_spawn
[musl]
/
src
/
process
/
posix_spawnattr_setflags.c
diff --git a/src/process/posix_spawnattr_setflags.c
b/src/process/posix_spawnattr_setflags.c
new file mode 100644
(file)
index 0000000..
f750c04
--- /dev/null
+++ b/
src/process/posix_spawnattr_setflags.c
@@ -0,0
+1,7
@@
+#include <spawn.h>
+
+int posix_spawnattr_setflags(posix_spawnattr_t *attr, short flags)
+{
+ attr->__flags = flags;
+ return 0;
+}