buffer 的大小是 MAX_ARG_PAGES * "page 大小" --- 一般而言是 32 * 4k = 128k。 On Linux prior to kernel 2.6.23, the memory used to store the environment and argument strings was limited to 32 pages (defined by the kernel constant MAX_ARG_PAGES). On architectures with a 4-kB page size, this yields a maximum size of 128 kB. python sys.argv limitations? - Stack Overflow http://stackoverflow.com/questions/5533704/python-sys-argv-limitations Moundalexis.com: /bin/rm: Argument list too long. http://www.moundalexis.com/archives/000035.php
文章標籤
全站熱搜
創作者介紹
創作者 peicheng 的頭像
peicheng

FLASHC

peicheng 發表在 痞客邦 留言(0) 人氣(134)