
5 Jun
2007
5 Jun
'07
6:46 p.m.
On Jun 5, 2007, at 18:26 , Stefan O'Rear wrote:
I am just curious - is there a OS, where the argument list is not limited (like in limits.h under Unix/Posix)?
No, that would require an infinite amount of address space. Even if you have exabytes of swap, argv[] has to be all concurrently addressable.
Less pedantically, Linux 2.6 kernels do not arbitrarily restrict argument lists. (I suspect this comes at a cost, however.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH