mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 16:58:30 +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
|
@ -41,11 +41,11 @@ long sysconf(int name) {
|
|||
case _SC_ARG_MAX:
|
||||
return _ARG_MAX;
|
||||
case _SC_CHILD_MAX:
|
||||
return GetResourceLimit(RLIMIT_NPROC);
|
||||
return _GetResourceLimit(RLIMIT_NPROC);
|
||||
case _SC_CLK_TCK:
|
||||
return CLK_TCK;
|
||||
case _SC_OPEN_MAX:
|
||||
return GetMaxFd();
|
||||
return _GetMaxFd();
|
||||
case _SC_PAGESIZE:
|
||||
return FRAMESIZE;
|
||||
case _SC_NPROCESSORS_ONLN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue