mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Reduce stack virtual memory consumption on Linux
This commit is contained in:
parent
cc8a9eb93c
commit
36e5861b0c
31 changed files with 583 additions and 166 deletions
10
libc/intrin/rlimit.h
Normal file
10
libc/intrin/rlimit.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_INTRIN_RLIMIT_H_
|
||||
#define COSMOPOLITAN_LIBC_INTRIN_RLIMIT_H_
|
||||
#include "libc/calls/struct/rlimit.h"
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
void __rlimit_stack_set(struct rlimit);
|
||||
struct rlimit __rlimit_stack_get(void);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_LIBC_INTRIN_RLIMIT_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue