mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
af645fcbec
- Add Lua backtraces to redbean! - Wipe serving keys after redbean forks - Audit redbean to remove free via exit - Log SSL client ciphersuite preferences - Increase ASAN malloc() backtrace depth - Make GetSslRoots() behave as a singleton - Move leaks.c from LIBC_TESTLIB to LIBC_LOG - Add undocumented %n to printf() for newlines - Fix redbean memory leak reindexing inode change - Fix redbean memory leak with Fetch() DNS object - Restore original environ after __cxa_finalize() - Make backtrace always work after __cxa_finalize() - Introduce COUNTEXPR() diagnostic / benchmark tool - Fix a few more instances of errno being clobbered - Consolidate the ANSI color disabling internal APIs
22 lines
749 B
C
22 lines
749 B
C
#ifndef COSMOPOLITAN_LIBC_LOG_INTERNAL_H_
|
|
#define COSMOPOLITAN_LIBC_LOG_INTERNAL_H_
|
|
#include "libc/calls/struct/sigaction.h"
|
|
#include "libc/calls/struct/siginfo.h"
|
|
#include "libc/calls/struct/termios.h"
|
|
#include "libc/calls/ucontext.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern hidden bool __nocolor;
|
|
extern hidden int kCrashSigs[7];
|
|
extern hidden bool g_isrunningundermake;
|
|
extern hidden struct termios g_oldtermios;
|
|
extern hidden struct sigaction g_oldcrashacts[7];
|
|
|
|
void __start_fatal(const char *, int) hidden;
|
|
void __oncrash(int, struct siginfo *, struct ucontext *) relegated;
|
|
void __restore_tty(int);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_LOG_INTERNAL_H_ */
|