mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-02 23:18:44 +00:00
This change also invents sigcountset() and strsignal_r() and improves the quality of siginfo_t handling.
19 lines
784 B
C
19 lines
784 B
C
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGINFO_INTERNAL_H_
|
|
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGINFO_INTERNAL_H_
|
|
#include "libc/calls/struct/sigaction-xnu.internal.h"
|
|
#include "libc/calls/struct/siginfo-xnu.internal.h"
|
|
#include "libc/calls/struct/siginfo.h"
|
|
#include "libc/mem/alloca.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int sys_sigqueueinfo(int, const siginfo_t *) hidden;
|
|
void __sigenter_xnu(void *, int, int, struct siginfo_xnu *,
|
|
struct __darwin_ucontext *) hidden;
|
|
|
|
const char *DescribeSiginfo(char[300], int, const siginfo_t *);
|
|
#define DescribeSiginfo(x, y) DescribeSiginfo(alloca(300), x, y)
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_SIGINFO_INTERNAL_H_ */
|