Recent changes on "www.in-ulm.de/~mascheck/various/argmax/
"
- 27-06-2022:
- added ARG_MAX from <limits.h> thanks to Hex
- 07-09-2016:
- added Haiku-OS (sort of an OpenBeOS), thanks to Sylvain Kerjean for the pointer!
- 07-11-2014:
- added alternative cpp example for non-existent headers
- 09-,10-12-2013:
- added
printf '%s\0' *|xargs -0
to the section how to avoid the limit in a shell,
thanks to Michael Klement
- slight miscalculation for usable space with exported functions or
variable values with newlines,
thanks to Michael Klement
- 02-01-2012:
- 28-11-2011:
- much more background information from Bela Lubkin about OpenServer and Unixware
- 26-03-2011:
- 27-02-2011:
- updated UnixWare (default install)
- 20-02-2011:
- 31-01-2011:
- order in table alphabetically (oldest first, though) instead of value
- 11-01-2011:
- mention that
MAX_ARG_STRLEN
might become relevant with commands like sh -c "..."
(pointed out by Xan Lopez and Ralf Wildenhues)
- 02-01-2011:
- added 1st edition and footnote with some details
- supplemented 4.* BSD with releases not mentioned yet
- added Ultrix 4.3A
- 28-12-2010:
- 06-04-2010:
- 26-01-2010:
- add pointer to lkml discussion about increasing
MAX_ARG_PAGES
- linux-2.6.23+ said "unlimited", mention "1/4th of stack size" also here
- point out that avoiding long absolute paths might be an immediate solution (Stephane Chazelas)
- another quick solution: matching fewer arguments
- 03-06-2009:
- when estimating available space, also account for space of the pointers to arguments in envp
- table: minix doesn't have getconf
- 05-02-2009:
- 4.4BSDs and its successors know "sysctl kern.argmax"
- mention free BSD releases when getconf was provided
- linux 2.6.23: the variable ARG_MAX is limited to 1/4-th of the stack size
- 05-01-2009:
- a few more words about the nature of the limit
- 17-09-2008:
- effectively no ARG_MAX limit anymore on linux-2.6.23
- new maximum number of arguments on linux-2.6.23
- maximum length of one argument on linux-2.6.23
- added table of contents
- 04-08-2008:
- cpp footnote inspired by e.eriksson (hyperlinked)
- added V3, V4, V6
- added AIX 6.1 and link to online doc
- linked recent_changes
- sco footnote integrated in table
- 23-11-2007:
- added OpenServer 6.0.0 (Thanks to Rodolfo Mart�n for access)
- interactive limit and putenv become a footnote
- added credits
- 16-09-2007:
- avoid moving readers in wrong direction (increasing limit)
- 04-09-2007:
- added how to limit find to the current directory
- rewrote footnote about linux history
- deleted note about accidental error in GNU coreutils FAQ (it was updated)
- 02-09-2007:
- shell limit
- table simplified
- more details about posix
- origin of arg_max
- pointer to posix documentation added
- 2nd pointer to aix documentation added
- added autoconf check link to script
- moved autoconf documentation bug note
- 31-08-2007:
- added 4.2/4.2/4.3 BSD
- added how to avoid the limit
- putenv re-mentioned
- simpler examples
- 26-08-2007:
- FreeBSD 6.0 increased the limit, arm and powerpc variants followed
not much later
- ... [ skipped ] ...
- 06-06-2002