Changeset 3929 for branches/libc-0.6/src
- Timestamp:
- Oct 26, 2014, 5:14:04 AM (11 years ago)
- Location:
- branches/libc-0.6/src/emx/include/sys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/sys/param.h
r3682 r3929 81 81 #ifndef NCARGS 82 82 /** Max argument size for an exec function. 83 * OS2: Assuming at least 4KB of environment gives us 0xf000 at the very best. 84 * However we set it to 32KB which should be a safe max. */ 83 * OS2: DosExecPgm does not accept more than 32KB of command line arguments 84 * (ditto for environment). So, we keep the limit a few bytes short of 85 * this to avoid rounding errors on the user side. */ 85 86 #define NCARGS ARG_MAX 86 87 #endif -
branches/libc-0.6/src/emx/include/sys/syslimits.h
r1560 r3929 15 15 #ifndef ARG_MAX 16 16 /** Max argument size for an exec function. 17 * OS2: Assuming at least 4KB of environment gives us 0xf000 at the very best. 18 * However we set it to 32KB which should be a safe max. */ 19 #define ARG_MAX 0x8000 17 * OS2: DosExecPgm does not accept more than 32KB of command line arguments 18 * (ditto for environment). So, we keep the limit a few bytes short of 19 * this to avoid rounding errors on the user side. */ 20 #define ARG_MAX 0x7fe0 20 21 #endif 21 22
Note:
See TracChangeset
for help on using the changeset viewer.