Initial import
This commit is contained in:
16
libc/calls/struct/sigaltstack.h
Normal file
16
libc/calls/struct/sigaltstack.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGALTSTACK_H_
|
||||
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGALTSTACK_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
struct sigaltstack {
|
||||
void *ss_sp;
|
||||
int ss_flags;
|
||||
size_t ss_size;
|
||||
};
|
||||
|
||||
typedef struct sigaltstack stack_t;
|
||||
|
||||
static_assert(sizeof(stack_t) == 24);
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGALTSTACK_H_ */
|
||||
Reference in New Issue
Block a user