1 /* sysconf.c POSIX 4.8.1
2 * long int sysconf(int name);
4 * POSIX allows some of the values in <limits.h> to be increased at
5 * run time. The sysconf() function allows such values to be checked
6 * at run time. MINIX does not use this facility - the run time
7 * limits are those given in <limits.h>.
14 PUBLIC
long int sysconf(name
)
15 int name
; /* property being inspected */
19 return (long) ARG_MAX
;
22 return (long) CHILD_MAX
;
25 return (long) CLOCKS_PER_SEC
;
28 return (long) NGROUPS_MAX
;
31 return (long) OPEN_MAX
;
34 return -1L; /* no job control */
37 return -1L; /* no saved uid/gid */
40 return (long) _POSIX_VERSION
;
43 return (long) STREAM_MAX
;
46 return (long) TZNAME_MAX
;