mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-18 16:40:32 +00:00
Improve cosmocc toolchain
- Decouple zlib from libc - Add some underscores to mostly internal names
This commit is contained in:
parent
713d4424c6
commit
ba180e754d
25 changed files with 128 additions and 42 deletions
|
@ -21,7 +21,7 @@
|
|||
#include "libc/macros.internal.h"
|
||||
#include "libc/sysv/consts/rlim.h"
|
||||
|
||||
long GetResourceLimit(int resource) {
|
||||
long _GetResourceLimit(int resource) {
|
||||
struct rlimit rl;
|
||||
getrlimit(resource, &rl);
|
||||
if (rl.rlim_cur == RLIM_INFINITY) return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue