about summary refs log tree commit diff
path: root/stdio/spawna.internal.h
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-04-17 10:28:11 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-04-17 10:28:11 +0200
commitb1ddaa81f28b8bbc62d6d50526e0935b173099eb (patch)
treee606c194f8eecdedf3f710ed097cadfe97d60122 /stdio/spawna.internal.h
downloadcat-cosmopolitan-b1ddaa81f28b8bbc62d6d50526e0935b173099eb.tar.gz
cat-cosmopolitan-b1ddaa81f28b8bbc62d6d50526e0935b173099eb.zip
Diffstat (limited to 'stdio/spawna.internal.h')
-rw-r--r--stdio/spawna.internal.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/stdio/spawna.internal.h b/stdio/spawna.internal.h
new file mode 100644
index 0000000..2635aca
--- /dev/null
+++ b/stdio/spawna.internal.h
@@ -0,0 +1,19 @@
+#ifndef COSMOPOLITAN_LIBC_STDIO_SPAWNA_INTERNAL_H_
+#define COSMOPOLITAN_LIBC_STDIO_SPAWNA_INTERNAL_H_
+#include "libc/calls/struct/sched_param.h"
+#include "libc/calls/struct/sigset.h"
+#if !(__ASSEMBLER__ + __LINKER__ + 0)
+COSMOPOLITAN_C_START_
+
+struct _posix_spawnattr {
+  int16_t posix_attr_flags;
+  int32_t posix_attr_pgroup;
+  sigset_t posix_attr_sigmask;
+  sigset_t posix_attr_sigdefault;
+  int32_t posix_attr_schedpolicy;
+  struct sched_param posix_attr_schedparam;
+};
+
+COSMOPOLITAN_C_END_
+#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
+#endif /* COSMOPOLITAN_LIBC_STDIO_SPAWNA_INTERNAL_H_ */