mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 00:08:30 +00:00
Fix small matters and improve sysconf()
- Fix mkdeps.com out of memory error - Remove static memory from __get_cpu_count() - Add support for passing hyphen to cat in cocmd - Change more ZipOS errors from ENOTSUP to EROFS - Specify mem_unit in sysinfo() output on BSD OSes
This commit is contained in:
parent
eebc24b9cd
commit
3a9cac4892
55 changed files with 411 additions and 262 deletions
|
@ -129,9 +129,14 @@ bool IsCygwin(void);
|
|||
const char *GetCpuidOs(void);
|
||||
const char *GetCpuidEmulator(void);
|
||||
void GetCpuidBrand(char[13], uint32_t);
|
||||
long _GetResourceLimit(int);
|
||||
long __get_rlimit(int);
|
||||
int __set_rlimit(int, int64_t);
|
||||
const char *__describe_os(void);
|
||||
int __arg_max(void);
|
||||
long __get_sysctl(int, int);
|
||||
int __get_arg_max(void) pureconst;
|
||||
int __get_cpu_count(void) pureconst;
|
||||
long __get_avphys_pages(void) pureconst;
|
||||
long __get_phys_pages(void) pureconst;
|
||||
#endif /* _COSMO_SOURCE */
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue