[Esd-l] Detecting env size limits
Floyd Pierce
floydp at boxusa.com
Fri May 31 16:51:03 PDT 2002
Only thing I can find on AIX is /usr/include/sys/limits.h:
*********************************************************
/*
* Max length of arguments for exec() in bytes, including environ data, >=
4096.
*/
#define ARG_MAX 24576
*********************************************************
At 03:47 PM 5/31/2002 -0700, John D. Hardin wrote:
>Does anybody know of a quick way to detect the env+commandline size
>limit programmatically on those OSes which enforce such a limit?
>
>Thx.
>
>--
> John Hardin KA7OHZ ICQ#15735746 http://www.impsec.org/~jhardin/
> jhardin at impsec.org pgpk -a jhardin at impsec.org
> 768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5 E9 BF C8 33 A7 A9 CE 76
> 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
>-----------------------------------------------------------------------
> "To disable the Internet to save EMI and Disney is the moral
> equivalent of burning down the library of Alexandria to ensure the
> livelihood of monastic scribes."
> -- John Ippolito of the Guggenheim
>-----------------------------------------------------------------------
> 357 days until The Matrix Reloaded
>_______________________________________________
>Esd-l mailing list
>Esd-l at spconnect.com
>http://www.spconnect.com/mailman/listinfo/esd-l
--
Floyd Pierce | Director of Information Technology
Phone 847-790-2830 (IL) | Box USA
Phone 817-783-2355 (TX) | floydp at boxusa.com
Fax 847-790-2880 | floyd at floydbob.com
More information about the esd-l
mailing list