@ivesen @quad And doesn't seems to be some weird runtime thing (which POSIX allows for ARG_MAX):
$ cat arg_max.c #include <unistd.h> #include <stdio.h> #include <limits.h> int main() { printf("ARG_MAX = %d\n", ARG_MAX); long r = sysconf(_SC_ARG_MAX); printf("_SC_ARG_MAX = %ld\n", r); } $ $CC arg_max.c -o arg_max $ ./arg_max ARG_MAX = 131072 _SC_ARG_MAX = 131072