Displaying 1 result from an estimated 1 matches for "_posix_arg_max".
2001 Mar 20
1
[2.5.2p1] openbsd-compat/glob.c: ARG_MAX not defined, alternative
Hi.
On sparc-sun-sunos4.1.4 (i.e., -DSUNOS4), ARG_MAX is not defined
anywhere, although <sys/limits.h> has the following line:
#define _POSIX_ARG_MAX 4096
This is more a minimum imposed 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)
{...