mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Make improvements
- Add rusage to redbean Lua API - Add more redbean documentation - Add pledge() to redbean Lua API - Polyfill OpenBSD pledge() for Linux - Increase PATH_MAX limit to 1024 characters - Untrack sibling processes after fork() on Windows
This commit is contained in:
parent
9a6bd304a5
commit
47b3274665
212 changed files with 2251 additions and 834 deletions
|
@ -70,13 +70,13 @@
|
|||
#define BUFSIZ 0x1000 /* best stdio default */
|
||||
#define CACHELINE 0x40 /* nexgen32e */
|
||||
#define CHAR_BIT 8 /* b/c von neumann */
|
||||
#define ARG_MAX 0x8000 /* b/c windows */
|
||||
#define PATH_MAX 511 /* b/c bloat */
|
||||
#define ARG_MAX 0xfffe /* for argv and envp; see CreateProcess (32767*2) */
|
||||
#define PATH_MAX 1024 /* b/c _XOPEN_PATH_MAX */
|
||||
#define NAME_MAX 63 /* b/c dns */
|
||||
#define CHILD_MAX 25 /* only if malloc isn't linked */
|
||||
#define CHILD_MAX 16 /* only if malloc isn't linked */
|
||||
#define OPEN_MAX 16 /* only if malloc isn't linked */
|
||||
#define ATEXIT_MAX 32 /* only if malloc isn't linked */
|
||||
#define NSIG 128 /* it's complicated */
|
||||
#define NSIG 128 /* b/c freebsd */
|
||||
|
||||
#if defined(__LP64__) && !defined(__INT64_TYPE__)
|
||||
#include "libc/integral/lp64.inc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue