mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-24 06:49:02 +00:00
15 lines
380 B
C
15 lines
380 B
C
|
#ifndef COSMOPOLITAN_LIBC_STACK_H_
|
||
|
#define COSMOPOLITAN_LIBC_STACK_H_
|
||
|
#include "libc/thread/thread.h"
|
||
|
COSMOPOLITAN_C_START_
|
||
|
|
||
|
void cosmo_stack_lock(void);
|
||
|
void cosmo_stack_unlock(void);
|
||
|
void cosmo_stack_wipe(void);
|
||
|
|
||
|
bool TellOpenbsdThisIsStackMemory(void *, size_t);
|
||
|
errno_t FixupCustomStackOnOpenbsd(pthread_attr_t *);
|
||
|
|
||
|
COSMOPOLITAN_C_END_
|
||
|
#endif /* COSMOPOLITAN_LIBC_STACK_H_ */
|