1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
|
.\" (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date. The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein. The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\" License.
.\" Modified Sat Jul 24 17:51:42 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Tue Aug 17 11:42:20 1999 by Ariel Scolnicov (ariels@compugen.co.il)
.\"
.\" Japanese Version Copyright (c) 1998
.\" ISHIKAWA Mutsumi, all rights reserved.
.\" Translated Wed Jun 3 00:54:25 JST 1998
.\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\" Updated Thu Dec 8 04:20:44 JST 1999
.\" by Kentaro Shirakata <argrath@yo.rim.or.jp>
.\"
.TH SYSCONF 3 1993-04-18 "GNU" "Linux Programmer's Manual"
.SH ̾
sysconf \- ư
.SH
.nf
.B #include <unistd.h>
.sp
.BI "long sysconf(int " "name" );
.fi
.SH
.B sysconf()
ϡ(ƥ)ưˡץꥱƥ¤ͤ
ץ¬ꤹˡ롣
.PP
.B <unistd.h>
ˤϡƱεǽäޥƤ뤬Ȥä
ϡݼŪʤΤ˸¤Ƥ롣
ץꥱѹǤͤΤꤿˤϡ
.B sysconf()
ƤӽФȤ褤꼫ͳ٤礭뤳ȤǤ롣
.PP
Υե˴ؤ뤿ˤϡ
.BR fpathconf() " ޤ " pathconf()
뤳ȡ
.PP
.IR name
ˤơʲΤ褦ͤݡȤƤ롣
ޤPOSIX.1 ߴ:
.TP
.B _SC_ARG_MAX
.B exec()
ؿեߥΰκĹбޥ
.BR ARG_MAX
Ǥ롣
.TP
.B _SC_CHILD_MAX
桼 ID Ʊ¸ߤǤץбޥ
.BR _POSIX_CHILD_MAX
Ǥ롣
.TP
.B _SC_CLK_TCK
äΥåбޥ
.BR CLK_TCK
Ǥ롣
.TP
.B _SC_STREAM_MAX
ץĤǤ⥪ץǤ륹ȥκ
б POSIX ޥ
.BR STREAM_MAX
ޤбɸ C ޥ
.BR FOPEN_MAX
Ǥ롣
.TP
.B _SC_TZNAME_MAX
ॾ̾ȤƻȤХȿκ͡
бޥ
.BR TZNAME_MAX
Ǥ롣
.TP
.B _SC_OPEN_MAX
ץĤǤ⥪ץǤեκ͡
бޥ
.BR _POSIX_OPEN_MAX
Ǥ롣
.TP
.B _SC_JOB_CONTROL
POSIX Υ֥ȥݡȤƤ뤫ɤ
бޥ
.BR _POSI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SIX2_VERSION
Ǥ롣
.TP
.B _SC_2_DEV
ϡPOSIX.2 C 쳫ȯǽݡȤƤ뤫ɤ
бޥϡ
.BR POSIX2_C_DEV
Ǥ롣
.TP
.B _SC_2_FORT_DEV
ϡPOSIX.2 FORTRAN ȯ桼ƥƥݡȤƤ뤫ɤ
бޥ
.BR POSIX2_FORT_RUN
Ǥ롣
.TP
.B _SC_2_FORT_RUN
ϡPOSIX.2 FORTRAN 桼ƥƥݡȤƤ뤫ɤ
бޥϡ
.BR POSIX2_FORT_RUN
Ǥ롣
.TP
.B _SC_2_LOCALEDEF
ϡ
.BR localedef (1)
ѤPOSIX.2 ˤ locale κݡȤ뤫
бޥϡ
.BR _POSIX2_LOCALEDEF
Ǥ롣
.TP
.B _SC_2_SW_DEV
ϡPOSIX.2 եȥȯ桼ƥƥץݡȤƤ
뤫ɤ
бޥϡ
.BR POSIX2_SW_DEV
Ǥ롣
.PP
SUSv2ǤϰʲΤΤ롣
.TP
.B _SC_PAGESIZE _SC_PAGE_SIZE
ڡΥ(Хñ)
.PP
ʲͤ¸ߤ뤬ɸˤϴޤޤƤʤ
.TP
.B _SC_PHYS_PAGES
ʪΥڡ
ͤ
.B _SC_PAGE_SIZE
ͤѤϷ夢դ줹뤫⤷ʤȤդ뤳ȡ
.TP
.B _SC_AVPHYS_PAGES
ѲǽʪΥڡ
.SH ֤
֤ͤϡƥͤǤ롣䤤碌ץ(queried
option)ѤǤ 1 ֤ꡢǤʤ 0 ֤롣ޤ顼
ˤ \-1 ֤롣
.I errno
ѿϥåȤʤ
.SH
POSIX.1, POSIX.2
.SH Х
.B ARG_MAX
ȤΤʤʤ顢
.B exec()
Τˤɤ٤ΰΰ(argument space)뤫ȤΤϡ桼
δĶѿˤäꤵʤǤ롣
.PP
Ĥ֤ͤϤȤƤ礭ʤ(礭)
ƤΤŬǤϤʤ
.PP
POSIX.2 ϡޤɸȤǧĤƤʤΥޥ˥奢ڡξ
ϡѹ줦롣
.SH Ϣ
.BR bc (1),
.BR expr (1),
.BR locale (1),
.BR fpathconf (3),
.BR pathconf (3)
|