[FAQ] ARG_MAX and POSIX (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Sven Mascheck |
---|---|
Subject: | [FAQ] ARG_MAX and POSIX |
Date: | Sun, 2 Sep 2007 18:47:31 +0200 |
User-agent: | Mutt/1.5.13 (2006-08-11) |
Hello,
The FAQ, item 19. "Argument list too long", reads about ARG_MAX:
"POSIX only requires 20k which was the traditional value used for probably 20 years."
In fact, this minimum is 4096. (It's accessible in the shell with "getconf _POSIX_ARG_MAX" on such a system. This value determines only the minimum, POSIX also knows ARG_MAX for the actual value.)
http://www.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html
By the way, while the abovementioned 20k is a value on several systems, it's not traditional. Early values were 5120 (Version 7, System III, 3BSD, earlier SCOs) and 10240 (early 4BSD and SysV).
Regards, Sven
<http://www.in-ulm.de/~mascheck/various/argmax/>
- [FAQ] ARG_MAX and POSIX,Sven Mascheck <=
- Re: [FAQ] ARG_MAX and POSIX, Bob Proulx, 2007/09/03
* Re: [FAQ] ARG_MAX and POSIX, Ralf Wildenhues, 2007/09/04
* Re: [FAQ] ARG_MAX and POSIX, Bob Proulx, 2007/09/04
* Re: [FAQ] ARG_MAX and POSIX, Andreas Schwab, 2007/09/05
* Re: [FAQ] ARG_MAX and POSIX, Thomas Schwinge, 2007/09/06
- Re: [FAQ] ARG_MAX and POSIX, Bob Proulx, 2007/09/03
- Prev by Date:Re: groups --version
- Next by Date:new coreutils snapshot
- Previous by thread:Re: groups --version
- Next by thread:Re: [FAQ] ARG_MAX and POSIX
- Index(es):