1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date. The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein. The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" Modified Sat Jul 24 17:51:42 1993 by Rik Faith (faith@cs.unc.edu)
24 .\" Modified Tue Aug 17 11:42:20 1999 by Ariel Scolnicov (ariels@compugen.co.il)
26 .\" Japanese Version Copyright (c) 1998 ISHIKAWA Mutsumi, all rights reserved.
27 .\" Translated 1998-06-03, ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
28 .\" Updated 1999-12-08, Kentaro Shirakata <argrath@ub32.org>
29 .\" Updated 2002-10-16, Kentaro Shirakata <argrath@ub32.org>
30 .\" Updated 2005-03-15, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
32 .TH SYSCONF 3 2007-12-12 "GNU" "Linux Programmer's Manual"
34 .\"O sysconf \- Get configuration information at runtime
36 sysconf \- Æ°ºîÃæ¤ËÀßÄê¾ðÊó¤ò¼èÆÀ¤¹¤ë
40 .B #include <unistd.h>
42 .BI "long sysconf(int " "name" );
46 .\"O POSIX allows an application to test at compile or run time
47 .\"O whether certain options are supported, or what the value is
48 .\"O of certain configurable constants or limits.
49 POSIX ¤Ç¤Ï¡¢¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¥³¥ó¥Ñ¥¤¥ë»þ¤ä¼Â¹Ô»þ¤Ë¡¢
50 ÆÃÄê¤Î¥ª¥×¥·¥ç¥ó¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤ä¡¢
51 ÀßÄê²Äǽ¤ÊÆÃÄê¤ÎÄê¿ô¤äÀ©¸Â¤¬¤É¤ó¤ÊÃͤ«¤ò¥Æ¥¹¥È¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£
53 .\"O At compile time this is done by including
57 .\"O and testing the value of certain macros.
58 ¥³¥ó¥Ñ¥¤¥ë»þ¤Ë¹Ô¤¦¤Ë¤Ï¡¢
62 ¤ÎξÊý¤â¤·¤¯¤Ï°ìÊý¤ò¥¤¥ó¥¯¥ë¡¼¥É¤·¡¢
63 ÆÃÄê¤Î¥Þ¥¯¥í¤ÎÃͤò³Îǧ¤¹¤ë¡£
65 .\"O At run time, one can ask for numerical values using the present function
67 .\"O One can ask for numerical values that may depend
68 .\"O on the file system a file is in using the calls
69 .\"O .BR fpathconf (3)
71 .\"O .BR pathconf (3).
72 .\"O One can ask for string values using
74 ¼Â¹Ô»þ¤Ë¤Ï¡¢¤³¤³¤ÇÀâÌÀ¤¹¤ë´Ø¿ô
76 ¤ò»È¤Ã¤Æ¿ôÃͤòÌ䤤¹ç¤ï¤»¤ë¤³¤È¤¬¤Ç¤¤ë¡£
77 ¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë´Ø¤¹¤ë¿ôÃͤϡ¢
86 .\"O The values obtained from these functions are system configuration constants.
87 .\"O They do not change during the lifetime of a process.
88 .\"O .\" except that sysconf(_SC_OPEN_MAX) may change answer after a call
89 .\"O .\" to setrlimit( ) which changes the RLIMIT_NOFILE soft limit
90 ¤³¤ì¤é¤Î´Ø¿ô¤Ç¼èÆÀ¤µ¤ì¤ëÃͤÏÀßÄê²Äǽ¤Ê¥·¥¹¥Æ¥àÄê¿ô¤Ç¤¢¤ë¡£
91 ¤³¤ì¤é¤Ï¥×¥í¥»¥¹¤ÎÀ¸Â¸´ü´Ö¤Î´Ö¤ÏÊѲ½¤·¤Ê¤¤¡£
92 .\" ⤷ RLIMIT_NOFILE ¥½¥Õ¥È¡¦¥ê¥ß¥Ã¥È¤òÊѹ¹¤¹¤ë setrlimit() ¤¬¸Æ¤Ó½Ð¤·¤¿
93 .\" ¸å¤Ç¤Ï¡¢ sysconf(_SC_OPEN_MAX) ¤¬ÊÖ¤¹ÃͤÏÊѲ½¤¹¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
95 .\"O For options, typically, there is a constant
97 .\"O that may be defined in
99 .\"O If it is undefined, one should ask at run time.
100 .\"O If it is defined to \-1, then the option is not supported.
101 .\"O If it is defined to 0, then relevant functions and headers exist,
102 .\"O but one has to ask at runtime what degree of support is available.
103 .\"O If it is defined to a value other than \-1 or 0, then the option is
105 .\"O Usually the value (such as 200112L) indicates the year and month
106 .\"O of the POSIX revision describing the option.
107 .\"O Glibc uses the value 1
108 .\"O to indicate support as long as the POSIX revision has not been published yet.
109 ¥ª¥×¥·¥ç¥ó¤ò³Îǧ¤Ç¤¤ë¤è¤¦¤Ë¡¢¤¿¤¤¤Æ¤¤¤Ï
114 ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤Ï¡¢¼Â¹Ô»þ¤ËÌ䤤¹ç¤ï¤»¤ò¹Ô¤¦É¬Íפ¬¤¢¤ë¡£
115 ¤½¤ÎÃͤ¬ \-1 ¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤È¤¤Ï¡¢¤½¤Î¥ª¥×¥·¥ç¥ó¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
116 0 ¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤È¤¤Ï¡¢´ØÏ¢¤¹¤ë´Ø¿ô¤ä¥Ø¥Ã¥À¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤¬¡¢
117 ¤É¤ÎÄøÅÙ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤Ï¼Â¹Ô»þ¤Ë³Îǧ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
118 \-1 ¤Ç¤â 0 ¤Ç¤â¤Ê¤¤ÃͤËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤È¤¤Ï¡¢¤½¤Î¥ª¥×¥·¥ç¥ó¤¬¥µ¥Ý¡¼¥È
119 ¤µ¤ì¤Æ¤¤¤ë¡£Ä̾ï¤Ï¡¢¤½¤Î¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤ÆµºÜ¤·¤¿ POSIX ¤Î²þÄûǯ·î
120 ¤ò¼¨¤¹ÃͤˤʤäƤ¤¤ë (Î㤨¤Ð 200112L)¡£
121 glibc ¤Ç¤Ï 1 ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢¤½¤Î¥ª¥×¥·¥ç¥ó¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤¬¡¢
122 POSIX ¤Î²þÄûÈǤ¬¤Þ¤Àȯ¹Ô¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò¼¨¤¹¡£
123 .\"O .\" and 999 to indicate support for options no longer present in the latest
124 .\"O .\" standard. (?)
125 .\" 999 ¤Ï¡¢¤½¤Î¥ª¥×¥·¥ç¥ó¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤¬¡¢
126 .\" ºÇ¿·¤Îɸ½à¤Ë¤Ï¤â¤Ï¤ä¸ºß¤·¤Ê¤¤¤³¤È¤ò¼¨¤¹¡£(?)
129 .\"O argument will be
131 .\"O For a list of options, see
132 .\"O .BR posixoptions (7).
137 ¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¤Ï
141 .\"O For variables or limits, typically, there is a constant
143 .\"O maybe defined in
144 .\"O .IR <limits.h> ,
146 .\"O .BR _POSIX_FOO ,
147 .\"O maybe defined in
148 .\"O .IR <unistd.h> .
149 ÊÑ¿ô¤äÀ©¸Â¤ò³Îǧ¤Ç¤¤ë¤è¤¦¤Ë¡¢¤¿¤¤¤Æ¤¤¤Ï¡¢
158 .\"O The constant will not be defined if the limit is unspecified.
159 .\"O If the constant is defined, it gives a guaranteed value, and
160 .\"O a greater value might actually be supported.
161 .\"O If an application wants to take advantage of values which may change
162 .\"O between systems, a call to
165 À©¸Â¤¬µ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤ÏÄê¿ô¤ÏÄêµÁ¤µ¤ì¤Ê¤¤¡£
166 Äê¿ô¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¤È¤¤Ë¤Ï¡¢¤½¤ÎÄê¿ô¤ÏÊݾڤǤ¤ëÃͤǤ¢¤ê¡¢
167 ¼ÂºÝ¤Ë¤Ï¤â¤Ã¤ÈÂ礤ÊÃͤ¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤³¤È¤â¤¢¤ë¡£
168 ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¥·¥¹¥Æ¥àËè¤ËÊѲ½¤¹¤ëÃͤòÍøÍѤ·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢
170 ¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤Ç¼Â¸½¤Ç¤¤ë¡£
173 .\"O argument will be
179 .\"O .SS "POSIX.1 Variables"
181 .\"O We give the name of the variable, the name of the
183 .\"O argument used to inquire about its value,
184 .\"O and a short description.
185 ÊÑ¿ô̾¡¢¤½¤ÎÃͤò¼èÆÀ¤¹¤ë¤Î¤Ë»È¤ï¤ì¤ë
187 ¤Î¥Ñ¥é¥á¡¼¥¿Ì¾¡¢´Êñ¤ÊÀâÌÀ¤ò°Ê²¼¤Ë¼¨¤¹¡£
189 .\"O First, the POSIX.1 compatible values.
190 ¤Þ¤º POSIX.1 ¸ß´¹¤ÎÊÑ¿ô¤ò¼¨¤¹¡£
191 .\"O .\" [for the moment: only the things that are unconditionally present]
193 .\"O .\" .BR AIO_LISTIO_MAX " - " _SC_AIO_LISTIO_MAX
194 .\"O .\" (if _POSIX_ASYNCHRONOUS_IO)
195 .\"O .\" Maximum number of I/O operations in a single list I/O call.
196 .\"O .\" Must not be less than _POSIX_AIO_LISTIO_MAX.
198 .\"O .\" .BR AIO_MAX " - " _SC_AIO_MAX
199 .\"O .\" (if _POSIX_ASYNCHRONOUS_IO)
200 .\"O .\" Maximum number of outstanding asynchronous I/O operations.
201 .\"O .\" Must not be less than _POSIX_AIO_MAX.
203 .\"O .\" .BR AIO_PRIO_DELTA_MAX " - " _SC_AIO_PRIO_DELTA_MAX
204 .\"O .\" (if _POSIX_ASYNCHRONOUS_IO)
205 .\"O .\" The maximum amount by which a process can decrease its
206 .\"O .\" asynchronous I/O priority level from its own scheduling priority.
207 .\"O .\" Must be nonnegative.
209 .BR ARG_MAX " - " _SC_ARG_MAX
210 .\"O The maximum length of the arguments to the
212 .\"O family of functions.
213 .\"O Must not be less than
214 .\"O .B _POSIX_ARG_MAX
217 ´Ø¿ô·²¤Î°ú¤¿ô¤ÎºÇÂçĹ¡£
219 (4096) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
221 .BR CHILD_MAX " - " _SC_CHILD_MAX
222 .\"O The max number of simultaneous processes per user ID.
223 .\"O Must not be less than
224 .\"O .B _POSIX_CHILD_MAX
226 ¥æ¡¼¥¶ID ¤¢¤¿¤ê¤ÎƱ»þ¤Ë¸ºß¤Ç¤¤ë¥×¥í¥»¥¹¤ÎºÇÂç¿ô¡£
228 (25) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
230 .BR HOST_NAME_MAX " - " _SC_HOST_NAME_MAX
231 .\"O Max length of a hostname, not including the terminating null byte,
233 .\"O .BR gethostname (2).
234 .\"O Must not be less than
235 .\"O .B _POSIX_HOST_NAME_MAX
238 ¤ÇÊÖ¤µ¤ì¤ë¥Û¥¹¥È̾¤ÎºÇÂçĹ¡£ËöÈø¤Î NULL ¥Ð¥¤¥È¤ÏŤµ¤Ë´Þ¤Þ¤ì¤Ê¤¤¡£
239 .B _POSIX_HOST_NAME_MAX
240 (255) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
242 .BR LOGIN_NAME_MAX " - " _SC_LOGIN_NAME_MAX
243 .\"O Maximum length of a login name, including the terminating null byte.
244 .\"O Must not be less than
245 .\"O .B _POSIX_LOGIN_NAME_MAX
247 ¥í¥°¥¤¥ó̾¤ÎŤµ¤ÎºÇÂçÃÍ¡£ËöÈø¤Î NULL ¥Ð¥¤¥È¤âŤµ¤Ë´Þ¤Þ¤ì¤ë¡£
248 .B _POSIX_LOGIN_NAME_MAX
249 (9) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
251 .BR "" "clock ticks - " _SC_CLK_TCK
252 .\"O The number of clock ticks per second.
253 .\"O The corresponding variable is obsolete.
254 .\"O It was of course called
256 .\"O (Note: the macro
257 .\"O .B CLOCKS_PER_SEC
258 .\"O does not give information: it must equal 1000000.)
259 1É䢤¿¤ê¤Î¥¯¥í¥Ã¥¯¡¦¥Æ¥£¥Ã¥¯¿ô¡£
260 Âбþ¤¹¤ëÊÑ¿ô¤ÏÇѻߤµ¤ì¤¿¡£¤³¤ÎÊÑ¿ô¤ÏÅöÁ³¤Ê¤¬¤é
265 ¤«¤é¤Ï¾ðÊó¤ÏÆÀ¤é¤ì¤Ê¤¤: ¤³¤ÎÃÍ¤Ï 1000000 ¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤)
267 .BR OPEN_MAX " - " _SC_OPEN_MAX
268 .\"O The maximum number of files that a process can have open at any time.
269 .\"O Must not be less than
270 .\"O .B _POSIX_OPEN_MAX
272 °ì¤Ä¤Î¥×¥í¥»¥¹¤¬Æ±»þ¤Ë¥ª¡¼¥×¥ó¤Ç¤¤ë¥Õ¥¡¥¤¥ë¿ô¤Î¾å¸Â¡£
274 (20) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
276 .BR PAGESIZE " - " _SC_PAGESIZE
277 .\"O Size of a page in bytes.
278 .\"O Must not be less than 1.
279 .\"O (Some systems use PAGE_SIZE instead.)
280 ¥Ð¥¤¥Èñ°Ì¤Ç¤Î¥Ú¡¼¥¸¥µ¥¤¥º¡£
281 1 ¤è¤ê¾®¤µ¤¯¤Ê¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
282 (¤³¤ÎÂå¤ï¤ê¤Ë PAGE_SIZE ¤ò»È¤¦¥·¥¹¥Æ¥à¤â¤¢¤ë)
284 .BR RE_DUP_MAX " - " _SC_RE_DUP_MAX
285 .\"O The number of repeated occurrences of a BRE permitted by
288 .\"O .BR regcomp (3).
289 .\"O Must not be less than
290 .\"O .B _POSIX2_RE_DUP_MAX
295 ¤ÇµöÍƤµ¤ì¤Æ¤¤¤ë BRE (Basic Regular Expression; ´ðËÜÀµµ¬É½¸½)
296 ¤Î·«¤êÊÖ¤·½Ð¸½²ó¿ô¤ÎºÇÂçÃÍ¡£
297 .B _POSIX2_RE_DUP_MAX
298 (255) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
300 .BR STREAM_MAX " - " _SC_STREAM_MAX
301 .\"O The maximum number of streams that a process can have open at any
303 .\"O If defined, it has the same value as the standard C macro
305 .\"O Must not be less than
306 .\"O .B _POSIX_STREAM_MAX
308 °ì¤Ä¤Î¥×¥í¥»¥¹¤¬Æ±»þ¤Ë¥ª¡¼¥×¥ó¤Ç¤¤ë¥¹¥È¥ê¡¼¥à¿ô¤Î¾å¸Â¡£
309 ÄêµÁ¤µ¤ì¤Æ¤¤¤¿¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÃͤÏɸ½à C ¥Þ¥¯¥í¤Î
313 (8) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
316 .\"O The maximum number of symbolic links seen in a pathname before resolution
319 .\"O Must not be less than
320 .\"O .B _POSIX_SYMLOOP_MAX
322 ¥Ñ¥¹Ì¾¤Î²ò·è»þ¤Ë¸½¤ì¤Æ¤â¤è¤¤¥·¥ó¥Ü¥ê¥Ã¥¯¡¦¥ê¥ó¥¯¤ÎºÇÂç¿ô¡£
323 ¤³¤Î¿ô¤òĶ¤¨¤ë¤È¡¢¥Ñ¥¹Ì¾²ò·è»þ¤Ë
326 .B _POSIX_SYMLOOP_MAX
327 (8) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
329 .BR TTY_NAME_MAX " - " _SC_TTY_NAME_MAX
330 .\"O The maximum length of terminal device name,
331 .\"O including the terminating null byte.
332 .\"O Must not be less than
333 .\"O .B _POSIX_TTY_NAME_MAX
335 üËö¥Ç¥Ð¥¤¥¹Ì¾¤ÎºÇÂçĹ¡£Ä¹¤µ¤Ë¤ÏËöÈø¤Î NULL ¥Ð¥¤¥È¤â´Þ¤Þ¤ì¤ë¡£
336 .B _POSIX_TTY_NAME_MAX
337 (9) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
339 .BR TZNAME_MAX " - " _SC_TZNAME_MAX
340 .\"O The maximum number of bytes in a timezone name.
341 .\"O Must not be less than
342 .\"O .B _POSIX_TZNAME_MAX
344 ¥¿¥¤¥à¥¾¡¼¥ó̾¤È¤·¤Æ»È¤¨¤ë¥Ð¥¤¥È¿ô¤ÎºÇÂçÃÍ¡£
346 (6) ̤Ëþ¤Ç¤¢¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
348 .BR _POSIX_VERSION " - " _SC_VERSION
349 .\"O indicates the year and month the POSIX.1 standard was approved in the
354 .\"O indicates the Sept. 1990 revision.
355 POSIX.1 ɸ½à¤¬¾µÇ§¤µ¤ì¤¿Ç¯·î¡£
359 ¤È¤¤¤¦Ãͤϡ¢1990ǯ 9·î ²þÄû¤Ç¤¢¤ë¤³¤È¤ò¼¨¤¹¡£
360 .\"O .SS "POSIX.2 Variables"
362 .\"O Next, the POSIX.2 values, giving limits for utilities.
363 ¼¡¤Ë¡¢POSIX.2 ¤ÎÃͤò¼¨¤¹¡£
364 ¤³¤ì¤é¤Ï³Æ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ËÂФ¹¤ëÀ©¸Â¤ò»ØÄꤹ¤ë¡£
366 .BR BC_BASE_MAX " - " _SC_BC_BASE_MAX
367 .\"O indicates the maximum
369 .\"O value accepted by the
373 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ÇµöÍƤµ¤ì¤ë
377 .BR BC_DIM_MAX " - " _SC_BC_DIM_MAX
378 .\"O indicates the maximum value of elements permitted in an array by
381 ¤ÇµöÍƤµ¤ì¤ë°ì¤Ä¤ÎÇÛÎóÃæ¤ÎÍ×ÁÇ¿ô¤ÎºÇÂçÃÍ¡£
383 .BR BC_SCALE_MAX " - " _SC_BC_SCALE_MAX
384 .\"O indicates the maximum
386 .\"O value allowed by
393 .BR BC_STRING_MAX " - " _SC_BC_STRING_MAX
394 .\"O indicates the maximum length of a string accepted by
397 ¤ÇµöÍƤµ¤ì¤ëʸ»úÎó¤ÎºÇÂçĹ¡£
399 .BR COLL_WEIGHTS_MAX " - " _SC_COLL_WEIGHTS_MAX
400 .\"O indicates the maximum numbers of weights that can be assigned to an
402 .\"O .B LC_COLLATE order
403 .\"O keyword in the locale definition file,
404 ¥í¥±¡¼¥ëÄêµÁ¥Õ¥¡¥¤¥ëÃæ¤Î
406 ¥¡¼¥ï¡¼¥É¤Î¥¨¥ó¥È¥ê¤Ë³ä¤êÅö¤Æ²Äǽ¤Ê½Å¤ß¤ÎºÇÂçÃÍ¡£
408 .BR EXPR_NEST_MAX " - " _SC_EXPR_NEST_MAX
409 .\"O is the maximum number of expressions which can be nested within
413 ¤Ë¤ª¤¤¤Æ¡¢³ç¸Ì¤ÇÆþ¤ì»Ò¤Ë¤Ç¤¤ë¼°¤ÎºÇÂç¿ô¡£
415 .BR LINE_MAX " - " _SC_LINE_MAX
416 .\"O The maximum length of a utility's input line length, either from
417 .\"O standard input or from a file.
418 .\"O This includes length for a trailing
420 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ÎÆþÎϹԤκÇÂçĹ¡£É¸½àÆþÎϤÀ¤±¤Ç¤Ê¤¯¡¢¥Õ¥¡¥¤¥ë¤«¤é¤ÎÆþÎϤˤâ
421 ŬÍѤµ¤ì¤ë¡£Ä¹¤µ¤Ë¤Ï¹Ô¤ÎËöÈø¤Î²þ¹Ôʸ»ú¤â´Þ¤Þ¤ì¤ë¡£
423 .BR RE_DUP_MAX " - " _SC_RE_DUP_MAX
424 .\"O The maximum number of repeated occurrences of a regular expression when
425 .\"O the interval notation
428 Àµµ¬É½¸½¤Ç¶è´Öɽµ (interval notation)
430 ¤¬»ÈÍѤµ¤ì¤¿¤È¤¤ËµöÍƤµ¤ì¤ë·«¤êÊÖ¤·½Ð¸½²ó¿ô¤ÎºÇÂçÃÍ¡£
432 .BR POSIX2_VERSION " - " _SC_2_VERSION
433 .\"O indicates the version of the POSIX.2 standard in the format of
435 POSIX.2 ɸ½à¤Î¥Ð¡¼¥¸¥ç¥ó¡£YYYYMML ¤È¤¤¤¦½ñ¼°¤Çɽµ¤µ¤ì¤ë¡£
437 .BR POSIX2_C_DEV " - " _SC_2_C_DEV
438 .\"O indicates whether the POSIX.2 C language development facilities are
440 POSIX.2 ¤Î C ¸À¸ì³«È¯µ¡Ç½¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤ò¼¨¤¹¡£
442 .BR POSIX2_FORT_DEV " - " _SC_2_FORT_DEV
443 .\"O indicates whether the POSIX.2 FORTRAN development utilities are
445 POSIX.2 ¤Î FORTRAN ³«È¯¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤ò¼¨¤¹¡£
447 .BR POSIX2_FORT_RUN " - " _SC_2_FORT_RUN
448 .\"O indicates whether the POSIX.2 FORTRAN runtime utilities are supported.
449 POSIX.2 ¤Î FORTRAN ¥é¥ó¥¿¥¤¥à¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤ò¼¨¤¹¡£
451 .BR _POSIX2_LOCALEDEF " - " _SC_2_LOCALEDEF
452 .\"O indicates whether the POSIX.2 creation of locates via
453 .\"O .BR localedef (1)
456 ¤ò»È¤Ã¤¿¡¢POSIX.2 ¤Î¥í¥±¡¼¥ë¤ÎºîÀ®¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤«¤ò¼¨¤¹¡£
458 .BR POSIX2_SW_DEV " - " _SC_2_SW_DEV
459 .\"O indicates whether the POSIX.2 software development utilities option is
461 POSIX.2 ¥½¥Õ¥È¥¦¥§¥¢³«È¯¥æ¡¼¥Æ¥£¥ê¥Æ¥£¥ª¥×¥·¥ç¥ó¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤ò¼¨¤¹¡£
463 .\"O These values also exist, but may not be standard.
464 °Ê²¼¤ÎÃͤ⸺ߤ¹¤ë¤¬¡¢É¸½à¤Ë¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Ê¤¤¡£
466 .BR "" " - " _SC_PHYS_PAGES
467 .\"O The number of pages of physical memory.
468 .\"O Note that it is possible
469 .\"O for the product of this value and the value of
470 .\"O .B _SC_PAGE_SIZE
472 ʪÍý¥á¥â¥ê¤Î¥Ú¡¼¥¸¿ô¡£
475 ÃͤÎÀѤϷå°î¤ì¤¹¤ë²ÄǽÀ¤¬¤¢¤ë¤Î¤ÇÃí°Õ¤¹¤ë¤³¤È¡£
477 .BR "" " - " _SC_AVPHYS_PAGES
478 .\"O The number of currently available pages of physical memory.
479 ¸½ºßÍøÍѲÄǽ¤ÊʪÍý¥á¥â¥ê¤Î¥Ú¡¼¥¸¿ô¡£
481 .BR "" " - " _SC_NPROCESSORS_CONF
482 .\"O The number of processors configured.
483 ÀßÄꤵ¤ì¤¿¥×¥í¥»¥Ã¥µ¿ô¡£
485 .BR "" " - " _SC_NPROCESSORS_ONLN
486 .\"O The number of processors currently online (available).
487 ¸½ºß¥ª¥ó¥é¥¤¥ó¤Î (ÍøÍѲÄǽ¤Ê) ¥×¥í¥»¥Ã¥µ¿ô¡£
488 .\"O .SH "RETURN VALUE"
492 .\"O is invalid, \-1 is returned, and
497 ¤¬ÉÔÀµ¤Ê¾ì¹ç¡¢\-1 ¤¬ÊÖ¤µ¤ì¡¢
502 .\"O Otherwise, the value returned is the value of the system resource and
505 .\"O In the case of options, a positive value is returned if a queried option
506 .\"O is available, and \-1 if it is not.
507 .\"O In the case of limits, \-1 means that there is no definite limit.
508 ¤½¤ì°Ê³°¤Î¾ì¹ç¡¢¥·¥¹¥Æ¥à¥ê¥½¡¼¥¹¤ÎÃͤ¬ÊÖ¤êÃͤȤ·¤ÆÊÖ¤µ¤ì¡¢
510 ¤ÏÊѹ¹¤µ¤ì¤Ê¤¤¡£Ì䤤¹ç¤ï¤»¤¬¥ª¥×¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Ç¤¢¤ì¤Ð¡¢
511 ¤½¤Î¥ª¥×¥·¥ç¥ó¤¬ÍøÍѤǤ¤ë¤È¤¤ÏÀµ¤ÎÃͤ¬ÊÖ¤µ¤ì¡¢
512 ÍøÍѤǤ¤Ê¤¤¤È¤¤Ï \-1 ¤¬ÊÖ¤µ¤ì¤ë¡£Ì䤤¹ç¤ï¤»¤¬
513 À©¸Â¤Ë¤Ä¤¤¤Æ¾ì¹ç¤Ï¡¢À©¸Â¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤È¤¤Ë \-1 ¤¬ÊÖ¤µ¤ì¤ë¡£
514 .\"O .SH "CONFORMING TO"
519 .\"O It is difficult to use
521 .\"O because it is not specified how much of the argument space for
523 .\"O is consumed by the user's environment variables.
525 ¤ò»È¤¦¤Î¤ÏÆñ¤·¤¤¡¢¤Ê¤¼¤Ê¤é¡¢
527 ¤Î°ú¤¿ôÎΰè (argument space) ¤Î¤¦¤Á¤É¤ì¤¯¤é¤¤¤¬
528 ¥æ¡¼¥¶¤Î´Ä¶ÊÑ¿ô¤Ë¤è¤Ã¤Æ»È¤ï¤ì¤ë¤«¤Ïʬ¤«¤é¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
530 .\"O Some returned values may be huge; they are not suitable for allocating
532 ¤¤¤¯¤Ä¤«¤ÎÊÖ¤êÃͤϤȤƤâÂ礤¯¤Ê¤ë¤À¤í¤¦¡£¤³¤ì¤é¤ò»È¤Ã¤Æ
533 ¥á¥â¥ê¤Î³ä¤êÅö¤Æ¤ò¹Ô¤¦¤Î¤ÏŬÅö¤Ç¤Ï¤Ê¤¤¡£