search for: _sc_arg_max

Displaying 1 result from an estimated 1 matches for "_sc_arg_max".

2001 Mar 20
1
[2.5.2p1] openbsd-compat/glob.c: ARG_MAX not defined, alternative
...mposed by POSIX than anything else. The proper solution revolves around this: ======================================================================== bash$ cat > x.c #include <unistd.h> #include <stdio.h> int main(int argc, char **argv) { printf("%ld\n", sysconf(_SC_ARG_MAX)); return 0; } ^D bash$ gcc -o x x.c bash$ ./x 1048576 ======================================================================== Charles