Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3c/sysconf.3c
+++ new/usr/src/man/man3c/sysconf.3c
1 1 '\" te
2 +.\" Copyright (c) 2013 Gary Mills
2 3 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
3 4 .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved.
4 5 .\" Copyright 1989 AT&T
5 6 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
6 7 .\" http://www.opengroup.org/bookstore/.
7 8 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
8 9 .\" This notice shall appear on any product containing this material.
9 10 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
10 11 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
11 12 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
12 -.TH SYSCONF 3C "Mar 26, 2008"
13 +.TH SYSCONF 3C "Apr 16, 2013"
13 14 .SH NAME
14 15 sysconf \- get configurable system variables
15 16 .SH SYNOPSIS
16 17 .LP
17 18 .nf
18 19 #include <unistd.h>
19 20
20 21 \fBlong\fR \fBsysconf\fR(\fBint\fR \fIname\fR);
21 22 .fi
22 23
23 24 .SH DESCRIPTION
24 25 .sp
25 26 .LP
26 27 The \fBsysconf()\fR function provides a method for an application to determine
27 28 the current value of a configurable system limit or option (variable).
28 29 .sp
29 30 .LP
30 31 The \fIname\fR argument represents the system variable to be queried. The
31 32 following table lists the minimal set of system variables from \fB<limits.h>\fR
32 33 and \fB<unistd.h>\fR that can be returned by \fBsysconf()\fR and the symbolic
33 34 constants defined in \fB<unistd.h>\fR that are the corresponding values used
34 35 for \fIname\fR on the SPARC and x86 platforms.
35 36 .sp
36 37 .in +2
37 38 .nf
38 39 Name Return Value Meaning
39 40 _______________________________________________________________________
40 41 _SC_2_C_BIND _POSIX2_C_BIND Supports the C lang-
41 42 uage binding option
42 43 _SC_2_C_DEV _POSIX2_C_DEV Supports the C lang-
43 44 uage development
44 45 utilities option
45 46 _SC_2_C_VERSION _POSIX2_C_VERSION Integer value
46 47 indicates version
47 48 of ISO POSIX-2
48 49 standard (Commands)
49 50 _SC_2_CHAR_TERM _POSIX2_CHAR_TERM Supports at least
50 51 one terminal
51 52 _SC_2_FORT_DEV _POSIX2_FORT_DEV Supports FORTRAN
52 53 Development
53 54 Utilities Option
54 55 _SC_2_FORT_RUN _POSIX2_FORT_RUN Supports FORTRAN
55 56 Run-time Utilities
56 57 Option
57 58 _SC_2_LOCALEDEF _POSIX2_LOCALEDEF Supports creation
58 59 of locales by the
59 60 localedef utility
60 61 _SC_2_SW_DEV _POSIX2_SW_DEV Supports Software
61 62 Development Utility
62 63 Option
63 64 _SC_2_UPE _POSIX2_UPE Supports User
64 65 Portability
65 66 Utilities Option
66 67 _SC_2_VERSION _POSIX2_VERSION Integer value
67 68 indicates version
68 69 of ISO POSIX-2
69 70 standard (C language
70 71 binding)
71 72 _SC_AIO_LISTIO_MAX AIO_LISTIO_MAX Max number of I/O
72 73 operations in a
73 74 single list I/O call
74 75 supported
75 76 _SC_AIO_MAX AIO_MAX Max number of
76 77 outstanding
77 78 asynchronous I/O
78 79 operations supported
79 80 _SC_AIO_PRIO_DELTA_MAX AIO_PRIO_DELTA_MAX Max amount by which
80 81 process can decrease
81 82 its asynchronous
82 83 I/O priority level
83 84 from its own
84 85 scheduling priority
85 86 _SC_ARG_MAX ARG_MAX Max size of argv[]
86 87 plus envp[]
87 88 _SC_ASYNCHRONOUS_IO _POSIX_ASYNCHRONOUS_IO Supports
88 89 Asynchronous I/O
89 90 _SC_ATEXIT_MAX ATEXIT_MAX Max number of
90 91 functions that can
91 92 be registered with
92 93 atexit()
93 94 _SC_AVPHYS_PAGES Number of physical
94 95 memory pages not
95 96 currently in use by
96 97 system
97 98 _SC_BARRIERS _POSIX_BARRIERS Supports Barriers
98 99 option
99 100 _SC_BC_BASE_MAX BC_BASE_MAX Maximum obase values
100 101 allowed by bc
101 102 _SC_BC_DIM_MAX BC_DIM_MAX Max number of
102 103 elements permitted
103 104 in array by bc
104 105 _SC_BC_SCALE_MAX BC_SCALE_MAX Max scale value
105 106 allowed by bc
106 107 _SC_BC_STRING_MAX BC_STRING_MAX Max length of string
107 108 constant allowed by
108 109 bc
109 110 _SC_CHILD_MAX CHILD_MAX Max processes
110 111 allowed to a UID
111 112 _SC_CLK_TCK CLK_TCK Ticks per second
112 113 (clock_t)
113 114 _SC_CLOCK_SELECTION _POSIX_CLOCK_SELECTION Supports Clock
114 115 Selection option
115 116 _SC_COLL_WEIGHTS_MAX COLL_WEIGHTS_MAX Max number of
116 117 weights that can be
117 118 assigned to entry of
118 119 the LC_COLLATE order
119 120 keyword in locale
120 121 definition file
121 122 _SC_CPUID_MAX Max possible
122 123 processor ID
123 124 _SC_DELAYTIMER_MAX DELAYTIMER_MAX Max number of timer
124 125 expiration overruns
125 126 _SC_EXPR_NEST_MAX EXPR_NEST_MAX Max number of
126 127 parentheses by expr
127 128 _SC_FSYNC _POSIX_FSYNC Supports File
128 129 Synchronization
129 130 _SC_GETGR_R_SIZE_MAX Max size of group
130 131 entry buffer
131 132 _SC_GETPW_R_SIZE_MAX Max size of password
132 133 entry buffer
133 134 _SC_HOST_NAME_MAX _POSIX_HOST_NAME_MAX Maximum length of a
134 135 host name (excluding
↓ open down ↓ |
112 lines elided |
↑ open up ↑ |
135 136 terminating null)
136 137 _SC_IOV_MAX IOV_MAX Max number of iovec
137 138 structures available
138 139 to one process for
139 140 use with readv()
140 141 and writev()
141 142 _SC_JOB_CONTROL _POSIX_JOB_CONTROL Job control
142 143 supported?
143 144 _SC_LINE_MAX LINE_MAX Max length of input
144 145 line
145 -_SC_LOGIN_NAME_MAX LOGNAME_MAX + 1 Max length of login
146 +_SC_LOGIN_NAME_MAX LOGIN_NAME_MAX Max length of login
146 147 name
147 148 _SC_LOGNAME_MAX LOGNAME_MAX
148 149 _SC_MAPPED_FILES _POSIX_MAPPED_FILES Supports Memory
149 150 Mapped Files
150 151 _SC_MAXPID Max pid value
151 152 _SC_MEMLOCK _POSIX_MEMLOCK Supports Process
152 153 Memory Locking
153 154 _SC_MEMLOCK_RANGE _POSIX_MEMLOCK_RANGE Supports Range
154 155 Memory Locking
155 156 _SC_MEMORY_PROTECTION _POSIX_MEMORY_PROTECTION Supports Memory
156 157 Protection
157 158 _SC_MESSAGE_PASSING _POSIX_MESSAGE_PASSING Supports Message
158 159 Passing
159 160 _SC_MONOTONIC_CLOCK _POSIX_MONOTONIC_CLOCK Supports Monotonic
160 161 Clock option
161 162 _SC_MQ_OPEN_MAX MQ_OPEN_MAX Max number of open
162 163 message queues a
163 164 process can hold
164 165 _SC_MQ_PRIO_MAX MQ_PRIO_MAX Max number of
165 166 message priorities
166 167 supported
167 168 _SC_NGROUPS_MAX NGROUPS_MAX Max simultaneous
168 169 groups to which
169 170 one can belong
170 171 _SC_NPROCESSORS_CONF Number of processors
171 172 configured
172 173 _SC_NPROCESSORS_MAX Max number of
173 174 processors supported
174 175 by platform
175 176 _SC_NPROCESSORS_ONLN Number of processors
176 177 online
177 178 _SC_OPEN_MAX OPEN_MAX Max open files per
178 179 process
179 180 _SC_PAGESIZE PAGESIZE System memory page
180 181 size
181 182 _SC_PAGE_SIZE PAGESIZE Same as _SC_PAGESIZE
182 183 _SC_PASS_MAX PASS_MAX Max number of
183 184 significant bytes
184 185 in a password
185 186 _SC_PHYS_PAGES Total number of
186 187 pages of physical
187 188 memory in system
188 189 _SC_PRIORITIZED_IO _POSIX_PRIORITIZED_IO Supports Prioritized
189 190 I/O
190 191 _SC_PRIORITY_SCHEDULING _POSIX_PRIORITY_SCHEDULING Supports Process
191 192 Scheduling
192 193 _SC_RAW_SOCKETS _POSIX_RAW_SOCKETS Supports Raw Sockets
193 194 option
194 195 _SC_RE_DUP_MAX RE_DUP_MAX Max number of
195 196 repeated occurrences
196 197 of a regular
197 198 expression permitted
198 199 when using interval
199 200 notation \e{m,n\e}
200 201 _SC_READER_WRITER_LOCKS _POSIX_READER_WRITER_LOCKS Supports IPV6 option
201 202 _SC_REALTIME_SIGNALS _POSIX_REALTIME_SIGNALS Supports Realtime
202 203 Signals
203 204 _SC_REGEXP _POSIX_REGEXP Supports Regular
204 205 Expression Handling
205 206 option
206 207 _SC_RTSIG_MAX RTSIG_MAX Max number of
207 208 realtime signals
208 209 reserved for
209 210 application use
210 211 _SC_SAVED_IDS _POSIX_SAVED_IDS Saved IDs
211 212 (seteuid())
212 213 supported?
213 214 _SC_SEM_NSEMS_MAX SEM_NSEMS_MAX Max number of POSIX
214 215 semaphores a process
215 216 can have
216 217 _SC_SEM_VALUE_MAX SEM_VALUE_MAX Max value a POSIX
217 218 semaphore can have
218 219 _SC_SEMAPHORES _POSIX_SEMAPHORES Supports Semaphores
219 220 _SC_SHARED_MEMORY_ _POSIX_SHARED_MEMORY_ Supports Shared
220 221 OBJECTS OBJECTS Memory Objects
221 222 _SC_SHELL _POSIX_SHELL Supports POSIX shell
222 223 _SC_SIGQUEUE_MAX SIGQUEUE_MAX Max number of queued
223 224 signals that a
224 225 process can send and
225 226 have pending at
226 227 receiver(s) at a
227 228 time
228 229 _SC_SPAWN _POSIX_SPAWN Supports Spawn option
229 230 _SC_SPIN_LOCKS _POSIX_SPIN_LOCKS Supports Spin Locks
230 231 option
231 232 _SC_STACK_PROT Default stack
232 233 protection
233 234 _SC_STREAM_MAX STREAM_MAX Number of streams
234 235 one process can
235 236 have open at a time
236 237 _SC_SYMLOOP_MAX _POSIX_SYMLOOP_MAX Max number of symbolic
237 238 links that can be
238 239 reliably traversed in
239 240 the resolution of a
240 241 pathname in the absence
241 242 of a loop
242 243 _SC_SYNCHRONIZED_IO _POSIX_SYNCHRONIZED_IO Supports
243 244 Synchronized I/O
244 245 _SC_THREAD_ATTR_ _POSIX_THREAD_ATTR_ Supports Thread
245 246 STACKADDR STACKADDR Stack Address
246 247 Attribute option
247 248 _SC_THREAD_ATTR_ _POSIX_THREAD_ATTR_ Supports Thread
248 249 STACKSIZE STACKSIZE Stack Size
249 250 Attribute option
250 251 _SC_THREAD_DESTRUCTOR_ PTHREAD_DESTRUCTOR_ Number attempts made
251 252 ITERATIONS ITERATIONS to destroy thread-
252 253 specific data on
253 254 thread exit
254 255 _SC_THREAD_KEYS_MAX PTHREAD_KEYS_MAX Max number of data
255 256 keys per process
256 257 _SC_THREAD_PRIO_ _POSIX_THREAD_PRIO_ Supports Priority
257 258 INHERIT INHERIT Inheritance option
258 259 _SC_THREAD_PRIO_ _POSIX_THREAD_PRIO_ Supports Priority
259 260 PROTECT PROTECT Protection option
260 261 _SC_THREAD_PRIORITY_ _POSIX_THREAD_PRIORITY_ Supports Thread
261 262 SCHEDULING SCHEDULING Execution
262 263 Scheduling option
263 264 _SC_THREAD_PROCESS_ _POSIX_THREAD_PROCESS_ Supports
264 265 SHARED SHARED Process-Shared
265 266 Synchronization
266 267 option
267 268 _SC_THREAD_SAFE_ _POSIX_THREAD_SAFE_ Supports Thread-Safe
268 269 FUNCTIONS FUNCTIONS Functions option
269 270 _SC_THREAD_STACK_MIN PTHREAD_STACK_MIN Min byte size of
270 271 thread stack storage
271 272 _SC_THREAD_THREADS_MAX PTHREAD_THREADS_MAX Max number of
272 273 threads per process
273 274 _SC_THREADS _POSIX_THREADS Supports Threads
274 275 option
275 276 _SC_TIMEOUTS _POSIX_TIMEOUTS Supports Timeouts
276 277 option
277 278 _SC_TIMER_MAX TIMER_MAX Max number of timer
278 279 per process
279 280 supported
280 281 _SC_TIMERS _POSIX_TIMERS Supports Timers
281 282 _SC_TTY_NAME_MAX TTYNAME_MAX Max length of tty
282 283 device name
283 284 _SC_TZNAME_MAX TZNAME_MAX Max number of bytes
284 285 supported for name
285 286 of a time zone
286 287 _SC_V6_ILP32_OFF32 _POSIX_V6_ILP32_OFF32 Supports X/Open
287 288 ILP32 w/32-bit
288 289 offset build
289 290 environment
290 291 _SC_V6_ILP32_OFFBIG _POSIX_V6_ILP32_OFFBIG Supports X/Open
291 292 ILP32 w/64-bit
292 293 offset build
293 294 environment
294 295 _SC_V6_LP64_OFF64 _POSIX_V6_LP64_OFF64 Supports X/Open
295 296 LP64 w/64-bit
296 297 offset build
297 298 environment
298 299 _SC_V6_LPBIG_OFFBIG _POSIX_V6_LPBIG_OFFBIG Same as
299 300 _SC_V6_LP64_OFF64
300 301 _SC_VERSION _POSIX_VERSION POSIX.1 version
301 302 supported
302 303 _SC_XBS5_ILP32_OFF32 _XBS_ILP32_OFF32 Indicates support
303 304 for X/Open ILP32
304 305 w/32-bit offset
305 306 build environment
306 307 _SC_XBS5_ILP32_OFFBIG _XBS5_ILP32_OFFBIG Indicates support
307 308 for X/Open ILP32
308 309 w/64-bit offset
309 310 build environment
310 311 _SC_XBS5_LP64_OFF64 _XBS5_LP64_OFF64 Indicates support of
311 312 X/Open LP64,
312 313 64-bit offset
313 314 build environment
314 315 _SC_XBS5_LPBIG_OFFBIG _XBS5_LP64_OFF64 Same as
315 316 _SC_XBS5_LP64_OFF64
316 317 _SC_XOPEN_CRYPT _XOPEN_CRYPT Supports X/Open
317 318 Encryption Feature
318 319 Group
319 320 _SC_XOPEN_ENH_I18N _XOPEN_ENH_I18N Supports X/Open
320 321 Enhanced
321 322 Internationalization
322 323 Feature Group
323 324 _SC_XOPEN_LEGACY _XOPEN_LEGACY Supports X/Open
324 325 Legacy Feature Group
325 326 _SC_XOPEN_REALTIME _XOPEN_REALTIME Supports X/Open
326 327 POSIX Realtime
327 328 Feature Group
328 329 _SC_XOPEN_REALTIME_ _XOPEN_REALTIME_THREADS Supports X/Open
329 330 THREADS POSIX Reatime
330 331 Threads Feature
331 332 Group
332 333 _SC_XOPEN_SHM _XOPEN_SHM Supports X/Open
333 334 Shared Memory
334 335 Feature Group
335 336 _SC_XOPEN_STREAMS _POSIX_XOPEN_STREAMS Supports XSI Streams
336 337 option group
337 338 _SC_XOPEN_UNIX _XOPEN_UNIX Supports X/Open CAE
338 339 Specification,
339 340 August 1994, System
340 341 Interfaces and
341 342 Headers, Issue 4,
342 343 Version 2
343 344 _SC_XOPEN_VERSION _XOPEN_VERSION Integer value
344 345 indicates version of
345 346 X/Open Portability
346 347 Guide to which
347 348 implementation
348 349 conforms
349 350 _SC_XOPEN_XCU_VERSION _XOPEN_XCU_VERSION Integer value
350 351 indicates version of
351 352 XCU specification to
352 353 which implementation
353 354 conforms
354 355 .fi
355 356 .in -2
356 357 .sp
357 358
358 359 .sp
359 360 .LP
360 361 The following options are not supported and return \(mi1:
361 362 .sp
362 363
363 364 .sp
364 365 .TS
365 366 l l
366 367 l l .
367 368 \fB_SC_2_PBS\fR \fB_POSIX2_PBS\fR
368 369 \fB_SC_2_PBS_ACCOUNTING\fR \fB_POSIX2_PBS_ACCOUNTING\fR
369 370 \fB_SC_2_PBS_CHECKPOINT\fR \fB_POSIX2_PBS_CHECKPOINT\fR
370 371 \fB_SC_2_PBS_LOCATE\fR \fB_POSIX2_PBS_LOCATE\fR
371 372 \fB_SC_2_PBS_MESSAGE\fR \fB_POSIX2_PBS_MESSAGE\fR
372 373 \fB_SC_2_PBS_TRACK\fR \fB_POSIX2_PBS_TRACK\fR
373 374 \fB_SC_ADVISORY_INFO\fR \fB_POSIX_ADVISORY_INFO\fR
374 375 \fB_SC_CPUTIME\fR \fB_POSIX_CPUTIME\fR
375 376 \fB_SC_SPORADIC_SERVER\fR \fB_POSIX_SPORADIC_SERVER\fR
376 377 \fB_SC_SS_REPL_MAX\fR \fB_POSIX_SS_REPL_MAX\fR
377 378 \fB_SC_THREAD_CPUTIME\fR \fB_POSIX_THREAD_CPUTIME\fR
378 379 \fB_SC_THREAD_SPORADIC_SERVER\fR \fB_POSIX_THREAD_SPORADIC_SERVER\fR
379 380 \fB_SC_TRACE\fR \fB_POSIX_TRACE\fR
380 381 \fB_SC_TRACE_EVENT_FILTER\fR \fB_POSIX_TRACE_EVENT_FILTER\fR
381 382 \fB_SC_TRACE_EVENT_NAME_MAX\fR \fB_POSIX_TRACE_EVENT_NAME_MAX\fR
382 383 \fB_SC_TRACE_INHERIT\fR \fB_POSIX_TRACE_INHERIT\fR
383 384 \fB_SC_TRACE_LOG\fR \fB_POSIX_TRACE_LOG\fR
384 385 \fB_SC_TRACE_NAME_MAX\fR \fB_POSIX_TRACE_NAME_MAX\fR
385 386 \fB_SC_TRACE_SYS_MAX\fR \fB_POSIX_TRACE_SYS_MAX\fR
386 387 \fB_SC_TRACE_USER_EVENT_MAX\fR \fB_POSIX_TRACE_USER_EVENT_MAX\fR
387 388 \fB_SC_TYPED_MEMORY_OBJECTS\fR \fB_POSIX_TYPED_MEMORY_OBJECTS\fR
388 389 .TE
389 390
390 391 .SH RETURN VALUES
391 392 .sp
392 393 .LP
393 394 Upon successful completion, \fBsysconf()\fR returns the current variable value
394 395 on the system. The value returned will not be more restrictive than the
395 396 corresponding value described to the application when it was compiled with the
396 397 implementation's <\fBlimits.h\fR>, <\fBunistd.h\fR> or <\fBtime.h\fR>. With
397 398 only a few obvious exceptions such as \fB_SC_AVPHYS_PAGES\fR and
398 399 \fB_SC_NPROCESSORS_ONLN\fR, the value will not change during the lifetime of
399 400 the calling process.
400 401 .sp
401 402 .LP
402 403 If \fIname\fR is an invalid value, \fBsysconf()\fR returns \fB\(mi1\fR and sets
403 404 \fBerrno\fR to indicate the error. If the variable corresponding to \fIname\fR
404 405 is associated with functionality that is not supported by the system,
405 406 \fBsysconf()\fR returns \fB\(mi1\fR without changing the value of \fIerrno\fR.
406 407 .sp
407 408 .LP
408 409 Calling \fBsysconf()\fR with the following returns \fB\(mi1\fR without setting
409 410 \fBerrno\fR, because no maximum limit can be determined. The system supports at
410 411 least the minimum values and can support higher values depending upon system
411 412 resources.
412 413 .sp
413 414 .in +2
414 415 .nf
415 416 Variable Minimum supported value
416 417 _SC_AIO_MAX _POSIX_AIO_MAX
417 418 _SC_ATEXIT_MAX 32
418 419 _SC_MQ_OPEN_MAX 32
419 420 _SC_THREAD_THREADS_MAX _POSIX_THREAD_THREADS_MAX
420 421 _SC_THREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX
421 422 _SC_THREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
422 423 .fi
423 424 .in -2
424 425
425 426 .sp
426 427 .LP
427 428 The following SPARC and x86 platform variables return \fBEINVAL\fR:
428 429 .sp
429 430 .in +2
430 431 .nf
431 432 _SC_COHER_BLKSZ _SC_DCACHE_ASSOC
432 433 _SC_DCACHE_BLKSZ _SC_DCACHE_LINESZ
433 434 _SC_DCACHE_SZ _SC_DCACHE_TBLKSZ
434 435 _SC_ICACHE_ASSOC _SC_ICACHE_BLKSZ
435 436 _SC_ICACHE_LINESZ _SC_ICACHE_SZ
436 437 _SC_SPLIT_CACHE
437 438 .fi
438 439 .in -2
439 440
440 441 .SH ERRORS
441 442 .sp
442 443 .LP
443 444 The \fBsysconf()\fR function will fail if:
444 445 .sp
445 446 .ne 2
446 447 .na
447 448 \fB\fBEINVAL\fR\fR
448 449 .ad
449 450 .RS 10n
450 451 The value of the \fIname\fR argument is invalid.
451 452 .RE
452 453
453 454 .SH ATTRIBUTES
454 455 .sp
455 456 .LP
456 457 See \fBattributes\fR(5) for descriptions of the following attributes:
457 458 .sp
458 459
459 460 .sp
460 461 .TS
461 462 box;
462 463 c | c
463 464 l | l .
464 465 ATTRIBUTE TYPE ATTRIBUTE VALUE
465 466 _
466 467 Architecture SPARC and x86
467 468 _
468 469 Interface Stability Committed
469 470 _
470 471 MT-Level MT-Safe, Async-Signal-Safe
471 472 _
472 473 Standard See \fBstandards\fR(5).
473 474 .TE
474 475
475 476 .SH SEE ALSO
476 477 .sp
477 478 .LP
478 479 \fBpooladm\fR(1M), \fBzoneadm\fR(1M), \fBfpathconf\fR(2), \fBseteuid\fR(2),
479 480 \fBsetrlimit\fR(2), \fBconfstr\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)
480 481 .SH NOTES
481 482 .sp
482 483 .LP
483 484 A call to \fBsetrlimit()\fR can cause the value of \fBOPEN_MAX\fR to change.
484 485 .sp
485 486 .LP
486 487 Multiplying \fBsysconf\fR(\fB_SC_PHYS_PAGES\fR) or
487 488 \fBsysconf\fR(\fB_SC_AVPHYS_PAGES\fR) by \fBsysconf\fR(\fB_SC_PAGESIZE\fR) to
488 489 determine memory amount in bytes can exceed the maximum values representable in
489 490 a 32-bit signed or unsigned integer.
490 491 .sp
491 492 .LP
492 493 The value of \fBCLK_TCK\fR can be variable and it should not be assumed that
493 494 \fBCLK_TCK\fR is a compile-time constant.
494 495 .sp
495 496 .LP
496 497 If the caller is in a non-global zone and the pools facility is active,
497 498 \fBsysconf\fR(\fB_SC_NPROCESSORS_CONF\fR) and
498 499 \fBsysconf\fR(\fB_SC_NPROCESSORS_ONLN\fR) return the number of processors in
499 500 the processor set of the pool to which the zone is bound.
↓ open down ↓ |
344 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX