Home
last modified time | relevance | path

Searched full:sysconf (Results 1 – 25 of 232) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/getconf/
H A Dgetconf.c86 enum { SELFCONF, SYSCONF, PATHCONF, CONFSTR } type; enumerator
140 _SC_2_VERSION, "POSIX2_VERSION", SYSCONF, NOFLAGS,
141 _SC_2_VERSION, "_POSIX2_VERSION", SYSCONF, NOFLAGS,
144 _SC_BC_BASE_MAX, "BC_BASE_MAX", SYSCONF, NOFLAGS,
145 _SC_BC_DIM_MAX, "BC_DIM_MAX", SYSCONF, NOFLAGS,
146 _SC_BC_SCALE_MAX, "BC_SCALE_MAX", SYSCONF, NOFLAGS,
147 _SC_BC_STRING_MAX, "BC_STRING_MAX", SYSCONF, NOFLAGS,
148 _SC_COLL_WEIGHTS_MAX, "COLL_WEIGHTS_MAX", SYSCONF, NOFLAGS,
149 _SC_EXPR_NEST_MAX, "EXPR_NEST_MAX", SYSCONF, NOFLAGS,
150 _SC_LINE_MAX, "LINE_MAX", SYSCONF, NOFLAGS,
[all …]
/illumos-gate/usr/src/man/man3c/
H A Dconfstr.3c62 \fBsysconf\fR(3C) function, but it is used where string values rather than
207 If \fBsysconf\fR(\fB_SC_V6_ILP32_OFF32\fR) returns -1, the meaning of this
220 If \fBsysconf\fR(\fB_SC_V6_ILP32_OFF32\fR) returns -1, the meaning of this
233 If \fBsysconf\fR(\fB_SC_V6_ILP32_OFF32\fR) returns -1, the meaning of this
246 If \fBsysconf\fR(\fB_SC_V6_ILP32_OFFBIG\fR) returns -1, the meaning of this
260 If \fBsysconf\fR(\fB_SC_V6_ILP32_OFFBIG\fR) returns -1, the meaning of this
274 If \fBsysconf\fR(\fB_SC_V6_ILP32_OFFBIG\fR) returns -1, the meaning of this
288 If \fBsysconf\fR(\fB_SC_V6_LP64_OFF64\fR) returns -1, the meaning of this value
301 If \fBsysconf\fR(\fB_SC_V6_LP64_OFF64\fR) returns -1, the meaning of this value
314 If \fBsysconf\fR(\fB_SC_V6_LP64_OFF64\fR) returns -1, the meaning of this value
[all …]
H A Dsysconf.3c48 .TH SYSCONF 3C "May 04, 2020"
50 sysconf \- get configurable system variables
55 \fBlong\fR \fBsysconf\fR(\fBint\fR \fIname\fR);
59 The \fBsysconf()\fR function provides a method for an application to determine
65 and \fB<unistd.h>\fR that can be returned by \fBsysconf()\fR and the symbolic
430 Upon successful completion, \fBsysconf()\fR returns the current variable value
439 If \fIname\fR is an invalid value, \fBsysconf()\fR returns \fB\(mi1\fR and sets
442 \fBsysconf()\fR returns \fB\(mi1\fR without changing the value of \fIerrno\fR.
445 Calling \fBsysconf()\fR with the following returns \fB\(mi1\fR without setting
478 The \fBsysconf()\fR function will fail if:
[all …]
H A Dget_nprocs.3c38 .Fn sysconf _SC_NPROCESSORS_ONLN
40 .Fn sysconf _SC_NPROCESSORS_CONF
57 .Xr sysconf 3C ,
H A Dgetpagesize.3c68 The \fBgetpagesize()\fR function is equivalent to \fBsysconf(_SC_PAGE_SIZE)\fR
69 and \fBsysconf(_SC_PAGESIZE)\fR. See \fBsysconf\fR(3C).
H A Dmlock.3c127 .Xr sysconf 3C .
176 .Xr sysconf 3C ,
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_split.c38 size_t mapsz = sysconf(_SC_PAGESIZE) * 8; in main()
39 size_t spltsz = sysconf(_SC_PAGESIZE) * 4; in main()
40 size_t spltoff = sysconf(_SC_PAGESIZE) * 2; in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsysconf.c32 /* sysconf(3C) - returns system configuration information */
34 #pragma weak _sysconf = sysconf
54 sysconf(int name) in sysconf() function
537 * UNIX 98 version of sysconf needed in order to set _XOPEN_VERSION to 500.
545 return (sysconf(name)); in __sysconf_xpg5()
H A Dinitgroups.c54 if ((ngroups_max = sysconf(_SC_NGROUPS_MAX)) < 0) { in initgroups()
55 /* ==== Hope sysconf() set errno to something sensible */ in initgroups()
98 * We require sysconf(_SC_NGROUPS_MAX) either returns a sane value (>0) in getgrouplist()
102 ngroups_max = sysconf(_SC_NGROUPS_MAX); in getgrouplist()
H A Dget_nprocs.c35 return ((int)sysconf(_SC_NPROCESSORS_ONLN)); in get_nprocs()
44 return ((int)sysconf(_SC_NPROCESSORS_CONF)); in get_nprocs_conf()
/illumos-gate/usr/src/man/man3head/
H A Dunistd.h.3head110 \fBsysconf\fR(3C) function to determine which features are supported. This
119 the \fBfpathconf\fR(2), \fBpathconf\fR(2), or \fBsysconf\fR(3C) functions can
138 \fBsysconf()\fR with the indicated \fIname\fR parameter.
144 \fBsysconf()\fR is considered to be requiring an extension.
1077 The following symbolic constants are defined for the \fBsysconf\fR(3C)
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dmemory.c92 if (sysconf(_SC_PAGESIZE) == -1 || sysconf(_SC_PHYS_PAGES) == -1) in display_memorysize()
98 (uint64_t)sysconf(_SC_PAGESIZE) * \ in display_memorysize()
99 (uint64_t)sysconf(_SC_PHYS_PAGES); in display_memorysize()
413 total_sys_mem = (((uint64_t)sysconf(_SC_PAGESIZE) * \ in display_us3_banks()
414 (uint64_t)sysconf(_SC_PHYS_PAGES)) / MBYTE); in display_us3_banks()
/illumos-gate/usr/src/man/man2/
H A Dp_online.293 \fBsysconf(_SC_CPUID_MAX)\fR. The list of valid processor numbers can be
95 the maximum returned by \fBsysconf(_SC_CPUID_MAX)\fR. The \fBEINVAL\fR error is
187 cpuid_max = sysconf(_SC_CPUID_MAX);
H A Dmmap.2306 \fBsysconf\fR(3C). If addr is 0, the system will choose a suitable alignment.
335 \fBsysconf\fR(3C). The specific page sizes that are used depend on the platform
345 \fBsysconf()\fR. The \fBMAP_INITDATA\fR option should be used only by the
357 value returned by \fBsysconf()\fR when passed \fB_SC_PAGESIZE\fR or
765 not multiples of the page size as returned by \fBsysconf()\fR.
768 power of two multiple of page size as returned by \fBsysconf\fR(3C).
H A Dpcsample.240 \fBsysconf(_SC_CLK_TCK)\fR. See \fBsysconf\fR(3C).
H A Dmunmap.263 multiple of the page size as returned by \fBsysconf\fR(3C). If \fIaddr\fR is
88 \fBsysconf\fR(3C); addresses in the range [\fIaddr, addr + len\fR) are outside
H A Dmemcntl.254 .Xr sysconf 3C .
397 .Xr sysconf 3C ;
447 .Xr sysconf 3C ,
H A Dmprotect.263 next multiple of the page size as returned by \fBsysconf\fR(3C), to be that
135 of the page size as returned by \fBsysconf\fR(3C).
/illumos-gate/usr/src/ucbhead/
H A Dunistd.h72 /* command names for POSIX sysconf */
107 * Use pathconf/sysconf to obtain actual configuration value.
152 extern long sysconf(int);
/illumos-gate/usr/src/cmd/powertop/common/
H A Dutil.c91 max = sysconf(_SC_CPUID_MAX); in pt_enumerate_cpus()
92 cpus_conf = sysconf(_SC_NPROCESSORS_CONF); in pt_enumerate_cpus()
94 /* Fall back to one CPU if any of the sysconf calls above failed */ in pt_enumerate_cpus()
/illumos-gate/usr/src/ucbhead/sys/
H A Dparam.h73 #define MAXPID ((pid_t)sysconf(_SC_MAXPID)) /* max process id */
83 #define HZ ((int)sysconf(_SC_CLK_TCK)) /* ticks/second of the clock */
84 #define TICK (1000000000/((int)sysconf(_SC_CLK_TCK)))
225 #define PAGESIZE (sysconf(_SC_PAGESIZE)) /* All the above, for logical */
/illumos-gate/usr/src/boot/include/
H A Dunistd.h95 * implementation for the corresponding sysconf() which is able to
99 * the POSIX standard; however, if the relevant sysconf() function
156 * sysconf function). The kernel does not directly implement the
157 * sysconf() interface; rather, a C library stub translates references
158 * to sysconf() into calls to sysctl() using a giant switch statement.
364 long sysconf(int);
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dexhaust.c53 ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
70 ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
/illumos-gate/usr/src/uts/common/sys/
H A Dsysconf.h27 * sysconf.h - include file for sysconf utility and the kernel.
/illumos-gate/usr/src/test/os-tests/tests/sigqueue/
H A Dsigqueue_queue_size.c88 sigqueue_max = sysconf(_SC_SIGQUEUE_MAX); in sigqueue_maximum_test()
90 test_failed(test_name, "sysconf\n"); in sigqueue_maximum_test()

12345678910