mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Add posix_spawn (#114)
This commit is contained in:
parent
5f088cec23
commit
5ce83b08c8
10 changed files with 521 additions and 22 deletions
19
libc/stdio/spawna.internal.h
Normal file
19
libc/stdio/spawna.internal.h
Normal file
|
@ -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_ */
|
Loading…
Add table
Add a link
Reference in a new issue