1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 .\" GNU General Public License for more details.
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
23 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
24 .\" all rights reserved.
25 .\" Translated Thu Dec 16 03:35:45 JST 2004
26 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
28 .\"WORD: feature test macro µ¡Ç½¥Æ¥¹¥È¥Þ¥¯¥í
30 .TH POSIXOPTIONS 7 2007-12-21 "" "Linux Programmer's Manual"
33 .\"O posixoptions \- optional parts of the POSIX standard
34 POSIX ɸ½à¤ÎÁªÂò²Äǽ¤ÊÉôʬ
37 .\"O The POSIX standard (the information below is from POSIX.1-2001)
38 .\"O describes a set of behaviors and interfaces for a compliant system.
39 POSIX ɸ½à (°Ê²¼¤Î¾ðÊó¤Ï POSIX.1-2001 ¤ÎÈ´¿è) ¤Ï
40 ¸ß´¹¥·¥¹¥Æ¥à¤ÎÆ°ºî¤È¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¥»¥Ã¥È¤òµ½Ò¤·¤Æ¤¤¤ë¡£
41 .\"O However, many interfaces are optional and there are feature test macros
42 .\"O to test the availability of interfaces at compile time, and functions
44 .\"O .BR fpathconf (3),
45 .\"O .BR pathconf (3),
47 .\"O to do this at run time.
48 .\"O From shell scripts one can use
50 ¤·¤«¤·¡¢Â¿¤¯¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ÏÁªÂò²Äǽ¤Ç¤¢¤ê¡¢
51 ¥³¥ó¥Ñ¥¤¥ë»þ¤Ë¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤¬»ÈÍѲÄǽ¤«¤ò¥Æ¥¹¥È¤¹¤ëµ¡Ç½¥Æ¥¹¥È¥Þ¥¯¥í¤È¡¢
52 ¼Â¹Ô»þ¤Ë¥Æ¥¹¥È¤¹¤ë´Ø¿ô
61 .\"O For more detail, see
67 .\"O We give the name of the POSIX abbreviation, the option, the name of the
69 .\"O parameter used to inquire about the option, and possibly
70 .\"O a very short description.
71 POSIX ¾Êά·Á¤Î̾Á°¡¦¥ª¥×¥·¥ç¥ó¡¦¥ª¥×¥·¥ç¥ó¤òÄ´¤Ù¤ë¤¿¤á¤Î
73 °ú¤¿ô¤Î̾Á°¡¦(²Äǽ¤Ê¤é¤Ð) Èó¾ï¤Ëû¤¤ÀâÌÀ¤òµ½Ò¤¹¤ë¡£
74 .\"O Much more precise detail can be found in the POSIX standard itself,
75 .\"O versions of which can nowadays be accessed freely on the web.
76 ¤è¤êÀµ³Î¤Ê¾ÜºÙ¤Ï POSIX ɸ½à¼«¿È¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¡£
77 POSIX ɸ½à¤Ïº£Æü¤Ç¤Ï Web ¤Ç¼«Í³¤Ë¥¢¥¯¥»¥¹¤Ç¤¤ë¡£
78 .SS "ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO"
79 .\"O The following advisory functions are present:
80 °Ê²¼¤Î¥¢¥É¥Ð¥¤¥¹¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
86 .IR posix_fallocate (),
87 .IR posix_memalign (),
92 .SS "AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO"
98 .\"O The following functions are present:
99 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
115 .SS "BAR - _POSIX_BARRIERS - _SC_BARRIERS"
116 .\"O This option implies the
117 .\"O .B _POSIX_THREADS
119 .\"O .B _POSIX_THREAD_SAFE_FUNCTIONS
124 .B _POSIX_THREAD_SAFE_FUNCTIONS
125 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
126 .\"O The following functions are present:
127 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
132 .IR pthread_barrier_destroy (),
133 .IR pthread_barrier_init (),
134 .IR pthread_barrier_wait (),
135 .IR pthread_barrierattr_destroy (),
136 .IR pthread_barrierattr_init ().
141 .\"O .\" Batch environment.
144 .\"O .\" C development.
146 .SS "--- - POSIX_CHOWN_RESTRICTED"
147 .\"O If this option is in effect (as it always is under POSIX.1-2001)
148 .\"O then only root may change the owner of a file, and nonroot can only
149 .\"O set the group of a file to one of the groups it belongs to.
150 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç (POSIX.1-2001 ¤Ç¤Ï¾ï¤Ë͸ú)¡¢
151 root ¤À¤±¤¬¥Õ¥¡¥¤¥ë½êͼԤÎÊѹ¹¤òµö¤µ¤ì¡¢
152 root °Ê³°¤Ï¥Õ¥¡¥¤¥ë¤Î¥°¥ë¡¼¥×¤ò
153 ¼«Ê¬¤¬½ê°¤¹¤ë¥°¥ë¡¼¥×¤Î 1 ¤Ä¤ËÀßÄꤹ¤ë¤³¤È¤À¤±¤¬¤Ç¤¤ë¡£
154 .\"O This affects the functions
155 ¤³¤ì¤Ï°Ê²¼¤Î´Ø¿ô¤Ë±Æ¶Á¤¹¤ë¡£
162 .\"O .\" What about lchown() ?
163 .\" lchown() ¤Ï¤É¤¦¤Ê¤Î¤«?
167 .SS "CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION"
168 .\"O This option implies the
169 .\"O .B _POSIX_TIMERS
173 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
174 .\"O The following functions are present:
175 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
180 .IR pthread_condattr_getclock (),
181 .IR pthread_condattr_setclock (),
182 .IR clock_nanosleep ().
188 .\"O .B CLOCK_REALTIME
189 .\"O is changed by the function
190 .\"O .IR clock_settime (),
191 .\"O then this affects all timers set for an absolute time.
195 ¤ÇÊѹ¹¤µ¤ì¤¿¾ì¹ç¡¢ÀäÂлþ´Ö¤Ë´Ø·¸¤¹¤ëÁ´¤Æ¤Î¥¿¥¤¥Þ¤Î¥»¥Ã¥È¤Ë±Æ¶Á¤¹¤ë¡£
196 .SS "CPT - _POSIX_CPUTIME - _SC_CPUTIME"
197 .\"O The clockID CLOCK_PROCESS_CPUTIME_ID is supported.
198 .\"O The initial value of this clock is 0 for each process.
199 .\"O This option implies the
200 .\"O .B _POSIX_TIMERS
202 clockID CLOCK_PROCESS_CPUTIME_ID ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
203 ¤³¤Î¥¯¥í¥Ã¥¯¤Î½é´üÃͤϡ¢³Æ¥×¥í¥»¥¹Ëè¤Ë 0 ¤È¤Ê¤ë¡£
206 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
209 .IR clock_getcpuclockid ()
213 .\"O .\" Fortran development
214 .\" Fortran ¤Ë¤è¤ë³«È¯
216 .\"O .\" Fortran runtime
217 .\" Fortran ¥é¥ó¥¿¥¤¥à
218 .SS "--- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING"
219 .\"O This option has been deleted.
220 .\"O Not in final XPG6.
221 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ïºï½ü¤µ¤ì¤¿¡£XPG6 ºÇ½ªÈǤˤϤʤ¤¡£
222 .SS "FSC - _POSIX_FSYNC - _SC_FSYNC "
228 .SS "IP6 - _POSIX_IPV6 - _SC_IPV6"
229 .\"O Internet Protocol Version 6 is supported.
230 Internet Protocol Version 6 ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
231 .SS "--- - _POSIX_JOB_CONTROL - _SC_JOB_CONTROL"
232 .\"O If this option is in effect (as it always is under POSIX.1-2001)
233 .\"O then the system implements POSIX-style job control,
234 .\"O and the following functions are present:
235 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç (POSIX.1-2001 ¤Ç¤Ï¾ï¤Ë͸ú)¡¢
236 ¥·¥¹¥Æ¥à¤Ï POSIX Êý¼°¤Î¥¸¥ç¥ÖÀ©¸æ¤ò¼ÂÁõ¤·¤Æ¤ª¤ê¡¢
237 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
251 .SS "MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES"
252 .\"O Shared memory is supported.
253 ¶¦Í¥á¥â¥ê¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
254 .\"O The include file
259 .\"O The following functions are present:
260 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
271 .SS "ML - _POSIX_MEMLOCK - _SC_MEMLOCK"
272 .\"O Shared memory can be locked into core.
273 ¶¦Í¥á¥â¥ê¤¬¥³¥¢Æâ¤Ë¥í¥Ã¥¯¤Ç¤¤ë¡£
274 .\"O The following functions are present:
275 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
285 .SS "MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE"
286 .\"O More precisely, ranges can be locked into core.
287 ¤è¤ê¾ÜºÙ¤Ë¡¢ÈϰϤò¥³¥¢Æâ¤Ë¥í¥Ã¥¯¤Ç¤¤ë¡£
288 .\"O The following functions are present:
289 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
299 .SS "MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION"
305 .SS "MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING"
306 .\"O The include file
311 .\"O The following functions are present:
312 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
328 .SS "MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK"
329 .\"O .B CLOCK_MONOTONIC
331 .\"O This option implies the
332 .\"O .B _POSIX_TIMERS
335 ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
338 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
339 .\"O Affected functions are
340 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
346 .IR clock_gettime (),
347 .IR clock_settime (),
351 .SS "--- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS"
352 .\"O This option has been deleted.
353 .\"O Not in final XPG6.
354 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ïºï½ü¤µ¤ì¤¿¡£XPG6 ºÇ½ªÈǤˤϤʤ¤¡£
356 .\"O .\" IEC 60559 Floating-Point Option.
357 .\" IEC 60559 ÉâÆ°¾®¿ôÅÀ¿ô¥ª¥×¥·¥ç¥ó¡£
358 .SS "--- - _POSIX_NO_TRUNC"
359 .\"O If this option is in effect (as it always is under POSIX.1-2001)
360 .\"O then pathname components longer than
362 .\"O are not truncated,
363 .\"O but give an error.
364 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç (POSIX.1-2001 ¤Ç¤Ï¾ï¤Ë͸ú)¡¢
366 ¤è¤êŤ¤¥Ñ¥¹Ì¾¤Î¹½À®Í×ÁǤÏÀÚ¤êµÍ¤á¤é¤ì¤Ê¤¤¤¬¡¢¥¨¥é¡¼¤Ë¤Ê¤ë¡£
367 .\"O This property may be dependent on the path prefix of the component.
368 ¤³¤ÎÀßÄê¤Ï¹½À®Í×ÁǤΥѥ¹ÀÜƬ¼¤Ë°Í¸¤¹¤ë¾ì¹ç¤â¤¢¤ë¡£
369 .SS "PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO"
370 .\"O This option says that one can specify priorities for asynchronous I/O.
371 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÈóƱ´ü I/O ¤ÎÍ¥ÀèÅÙ¤¬»ØÄê¤Ç¤¤ë¤³¤È¤òɽ¤¹¡£
372 .\"O This affects the functions
373 ¤³¤ì¤Ï°Ê²¼¤Î´Ø¿ô¤Ë±Æ¶Á¤¹¤ë¡£
382 .SS "PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING"
383 .\"O The include file
388 .\"O The following functions are present:
389 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
394 .IR sched_get_priority_max (),
395 .IR sched_get_priority_min (),
396 .IR sched_getparam (),
397 .IR sched_getscheduler (),
398 .IR sched_rr_get_interval (),
399 .IR sched_setparam (),
400 .IR sched_setscheduler (),
407 .\"O is in effect, then the following functions are present:
409 ¤â͸ú¤Ê¾ì¹ç¤Ï¡¢°Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
414 .IR posix_spawnattr_getschedparam (),
415 .IR posix_spawnattr_getschedpolicy (),
416 .IR posix_spawnattr_setschedparam (),
417 .IR posix_spawnattr_setschedpolicy ().
420 .SS "RS - _POSIX_RAW_SOCKETS"
421 .\"O Raw sockets are supported.
422 raw ¥½¥±¥Ã¥È¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
423 .\"O Affected functions are
424 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
434 .SS "--- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS"
435 .\"O This option implies the
436 .\"O .B _POSIX_THREADS
439 .\"O under POSIX.1-2001 the
440 .\"O .B _POSIX_THREADS
441 .\"O option implies this option.
444 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
445 µÕ¤Ë POSIX.1-2001 ¤Ç¤Ï
447 ¥ª¥×¥·¥ç¥ó¤Ï¤³¤Î¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
448 .\"O The following functions are present:
449 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
453 .IR pthread_rwlock_destroy (),
454 .IR pthread_rwlock_init (),
455 .IR pthread_rwlock_rdlock (),
456 .IR pthread_rwlock_tryrdlock (),
457 .IR pthread_rwlock_trywrlock (),
458 .IR pthread_rwlock_unlock (),
459 .IR pthread_rwlock_wrlock (),
460 .IR pthread_rwlockattr_destroy (),
461 .IR pthread_rwlockattr_init ().
464 .SS "RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS"
465 .\"O Realtime signals are supported.
466 ¥ê¥¢¥ë¥¿¥¤¥à¥·¥°¥Ê¥ë¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
467 .\"O The following functions are present:
468 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
479 .SS "--- - _POSIX_REGEXP - _SC_REGEXP"
480 .\"O If this option is in effect (as it always is under POSIX.1-2001)
481 .\"O then POSIX regular expressions are supported
482 .\"O and the following functions are present:
483 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç (POSIX.1-2001 ¤Ç¤Ï¾ï¤Ë͸ú)¡¢
484 POSIX Àµµ¬É½¸½¤¬¥µ¥Ý¡¼¥È¤µ¤ì¡¢°Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
496 .SS "--- - _POSIX_SAVED_IDS - _SC_SAVED_IDS"
497 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç (POSIX.1-2001 ¤Ç¤Ï¾ï¤Ë͸ú)¡¢
498 ¥×¥í¥»¥¹¤ÏÊݸ (saved) set-user-ID ¤ÈÊݸ set-group-ID ¤ò»ý¤Ä¡£
499 .\"O Affected functions are
500 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
515 .\"O .\" Software development
517 .SS "SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES"
518 .\"O The include file
523 .\"O The following functions are present:
524 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
541 .SS "SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS"
542 .\"O The following functions are present:
543 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
555 .SS "--- - _POSIX_SHELL - _SC_SHELL"
556 .\"O If this option is in effect (as it always is under POSIX.1-2001),
558 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç (POSIX.1-2001 ¤Ç¤Ï¾ï¤Ë͸ú)¡¢´Ø¿ô
562 .SS "SPN - _POSIX_SPAWN - _SC_SPAWN"
563 .\"O This option describes support for process creation in a context where
564 .\"O it is difficult or impossible to use
566 .\"O for example, because no MMU is present.
567 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢Î㤨¤Ð MMU ¤¬Â¸ºß¤·¤Ê¤¤¤Ê¤É¤ÎÍýͳ¤Ë¤è¤Ã¤Æ¡¢
569 ¤ò»ÈÍѤ¹¤ë¤³¤È¤¬Æñ¤·¤¤¤«ÉÔ²Äǽ¤È¤¤¤¦¾õ¶·¤Ç¡¢
570 ¥×¥í¥»¥¹À¸À®¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤³¤È¤òɽ¤¹¡£
573 .\"O is in effect, then the include file
575 .\"O and the following functions are present:
577 ¤¬Í¸ú¤Ê¾ì¹ç¡¢¥¤¥ó¥¯¥ë¡¼¥É¥Õ¥¡¥¤¥ë
579 ¤È¡¢°Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
585 .IR posix_spawn_file_actions_addclose (),
586 .IR posix_spawn_file_actions_adddup2 (),
587 .IR posix_spawn_file_actions_addopen (),
588 .IR posix_spawn_file_actions_destroy (),
589 .IR posix_spawn_file_actions_init (),
590 .IR posix_spawnattr_destroy (),
591 .IR posix_spawnattr_getsigdefault (),
592 .IR posix_spawnattr_getflags (),
593 .IR posix_spawnattr_getpgroup (),
594 .IR posix_spawnattr_getsigmask (),
595 .IR posix_spawnattr_init (),
596 .IR posix_spawnattr_setsigdefault (),
597 .IR posix_spawnattr_setflags (),
598 .IR posix_spawnattr_setpgroup (),
599 .IR posix_spawnattr_setsigmask (),
606 .\"O .B _POSIX_PRIORITY_SCHEDULING
607 .\"O is in effect, then
608 .\"O the following functions are present:
609 .B _POSIX_PRIORITY_SCHEDULING
610 ¤â͸ú¤Ê¾ì¹ç¡¢°Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
615 .IR posix_spawnattr_getschedparam (),
616 .IR posix_spawnattr_getschedpolicy (),
617 .IR posix_spawnattr_setschedparam (),
618 .IR posix_spawnattr_setschedpolicy ().
621 .SS "SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS"
622 .\"O This option implies the
623 .\"O .B _POSIX_THREADS
625 .\"O .B _POSIX_THREAD_SAFE_FUNCTIONS
630 .B _POSIX_THREAD_SAFE_FUNCTIONS
631 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
632 .\"O The following functions are present:
633 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
638 .IR pthread_spin_destroy (),
639 .IR pthread_spin_init (),
640 .IR pthread_spin_lock (),
641 .IR pthread_spin_trylock (),
642 .IR pthread_spin_unlock ().
646 .SS "SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER"
647 .\"O The scheduling policy
648 .\"O .B SCHED_SPORADIC
650 .\"O This option implies the
651 .\"O .B _POSIX_PRIORITY_SCHEDULING
653 ¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¥Ý¥ê¥·¡¼
655 ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
657 .B _POSIX_PRIORITY_SCHEDULING
658 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
659 .\"O Affected functions are
660 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
665 .IR sched_setparam (),
666 .IR sched_setscheduler ().
670 .SS "SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO"
671 .\"O Affected functions are
672 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
677 .SS "TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR"
678 .\"O Affected functions are
679 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
684 .IR pthread_attr_getstack (),
685 .IR pthread_attr_getstackaddr (),
686 .IR pthread_attr_setstack (),
687 .IR pthread_attr_setstackaddr ().
691 .SS "TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE"
692 .\"O Affected functions are
693 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
698 .IR pthread_attr_getstack (),
699 .IR pthread_attr_getstacksize (),
700 .IR pthread_attr_setstack (),
701 .IR pthread_attr_setstacksize ().
705 .SS "TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME"
706 .\"O The clockID CLOCK_THREAD_CPUTIME_ID is supported.
707 .\"O This option implies the
708 .\"O .B _POSIX_TIMERS
710 clockID CLOCK_THREAD_CPUTIME_ID ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
713 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
714 .\"O Affected functions are
715 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
720 .IR pthread_getcpuclockid (),
722 .IR clock_gettime (),
723 .IR clock_settime (),
728 .SS "TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT"
729 .\"O Affected functions are
730 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
735 .IR pthread_mutexattr_getprotocol (),
736 .IR pthread_mutexattr_setprotocol ().
740 .SS "TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT"
741 .\"O Affected functions are
742 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
747 .IR pthread_mutex_getprioceiling (),
748 .IR pthread_mutex_setprioceiling (),
749 .IR pthread_mutexattr_getprioceiling (),
750 .IR pthread_mutexattr_getprotocol (),
751 .IR pthread_mutexattr_setprioceiling (),
752 .IR pthread_mutexattr_setprotocol ().
756 .SS "TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING"
757 .\"O If this option is in effect, the different threads inside a process
758 .\"O can run with different priorities and/or different schedulers.
759 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Í¸ú¤Ê¾ì¹ç¡¢1 ¤Ä¤Î¥×¥í¥»¥¹Æâ¤Î¸Ä¡¹¤Î¥¹¥ì¥Ã¥É¤ò
760 ¸Ä¡¹¤ÎÍ¥ÀèÅÙ¤Þ¤¿¤Ï¸Ä¡¹¤Î¥¹¥±¥¸¥å¡¼¥é (¤Þ¤¿¤Ï¤½¤ÎξÊý) ¤Ç¼Â¹Ô¤Ç¤¤ë¡£
761 .\"O Affected functions are
762 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
767 .IR pthread_attr_getinheritsched (),
768 .IR pthread_attr_getschedpolicy (),
769 .IR pthread_attr_getscope (),
770 .IR pthread_attr_setinheritsched (),
771 .IR pthread_attr_setschedpolicy (),
772 .IR pthread_attr_setscope (),
773 .IR pthread_getschedparam (),
774 .IR pthread_setschedparam (),
775 .IR pthread_setschedprio ().
779 .SS "TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED"
780 .\"O Affected functions are
781 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
786 .IR pthread_barrierattr_getpshared (),
787 .IR pthread_barrierattr_setpshared (),
788 .IR pthread_condattr_getpshared (),
789 .IR pthread_condattr_setpshared (),
790 .IR pthread_mutexattr_getpshared (),
791 .IR pthread_mutexattr_setpshared (),
792 .IR pthread_rwlockattr_getpshared (),
793 .IR pthread_rwlockattr_setpshared ().
797 .SS "TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS"
798 .\"O Affected functions are
799 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
812 .IR getc_unlocked (),
813 .IR getchar_unlocked (),
814 .IR putc_unlocked (),
815 .IR putchar_unlocked (),
826 .SS "TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER"
827 .\"O This option implies the
828 .\"O .B _POSIX_THREAD_PRIORITY_SCHEDULING
831 .B _POSIX_THREAD_PRIORITY_SCHEDULING
832 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
833 .\"O Affected functions are
834 ±Æ¶Á¤ò¼õ¤±¤ë´Ø¿ô¤Ï°Ê²¼¤ÎÄ̤ꡣ
839 .IR sched_getparam (),
840 .IR sched_setparam (),
841 .IR sched_setscheduler ().
845 .SS "THR - _POSIX_THREADS - _SC_THREADS"
846 .\"O Basic support for POSIX threads is available.
847 POSIX ¥¹¥ì¥Ã¥É¤Î´ðËÜ¥µ¥Ý¡¼¥È¤¬»ÈÍѲÄǽ¤Ç¤¢¤ë¡£
848 .\"O The following functions are present:
849 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
854 .IR pthread_atfork (),
855 .IR pthread_attr_destroy (),
856 .IR pthread_attr_getdetachstate (),
857 .IR pthread_attr_getschedparam (),
858 .IR pthread_attr_init (),
859 .IR pthread_attr_setdetachstate (),
860 .IR pthread_attr_setschedparam (),
861 .IR pthread_cancel (),
862 .IR pthread_cleanup_push (),
863 .IR pthread_cleanup_pop (),
864 .IR pthread_cond_broadcast (),
865 .IR pthread_cond_destroy (),
866 .IR pthread_cond_init (),
867 .IR pthread_cond_signal (),
868 .IR pthread_cond_timedwait (),
869 .IR pthread_cond_wait (),
870 .IR pthread_condattr_destroy (),
871 .IR pthread_condattr_init (),
872 .IR pthread_create (),
873 .IR pthread_detach (),
874 .IR pthread_equal (),
876 .IR pthread_getspecific (),
878 .IR pthread_key_create (),
879 .IR pthread_key_delete (),
880 .IR pthread_mutex_destroy (),
881 .IR pthread_mutex_init (),
882 .IR pthread_mutex_lock (),
883 .IR pthread_mutex_trylock (),
884 .IR pthread_mutex_unlock (),
885 .IR pthread_mutexattr_destroy (),
886 .IR pthread_mutexattr_init (),
888 .IR pthread_rwlock_destroy (),
889 .IR pthread_rwlock_init (),
890 .IR pthread_rwlock_rdlock (),
891 .IR pthread_rwlock_tryrdlock (),
892 .IR pthread_rwlock_trywrlock (),
893 .IR pthread_rwlock_unlock (),
894 .IR pthread_rwlock_wrlock (),
895 .IR pthread_rwlockattr_destroy (),
896 .IR pthread_rwlockattr_init (),
898 .IR pthread_setcancelstate (),
899 .IR pthread_setcanceltype (),
900 .IR pthread_setspecific (),
901 .IR pthread_testcancel ().
905 .SS "TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS"
906 .\"O The following functions are present:
907 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
912 .IR mq_timedreceive (),
914 .IR pthread_mutex_timedlock (),
915 .IR pthread_rwlock_timedrdlock (),
916 .IR pthread_rwlock_timedwrlock (),
917 .IR sem_timedwait (),
918 .IR posix_trace_timedgetnext_event ().
922 .SS "TMR - _POSIX_TIMERS - _SC_TIMERS"
923 .\"O The following functions are present:
924 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
930 .IR clock_gettime (),
931 .IR clock_settime (),
935 .IR timer_gettime (),
936 .IR timer_getoverrun (),
937 .IR timer_settime ().
941 .SS "TRC - _POSIX_TRACE - _SC_TRACE"
942 .\"O POSIX tracing is available.
943 POSIX ¥È¥ì¡¼¥·¥ó¥° (tracing) ¤¬»ÈÍѲÄǽ¤Ç¤¢¤ë¡£
944 .\"O The following functions are present:
945 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
950 .IR posix_trace_attr_destroy (),
951 .IR posix_trace_attr_getclockres (),
952 .IR posix_trace_attr_getcreatetime (),
953 .IR posix_trace_attr_getgenversion (),
954 .IR posix_trace_attr_getmaxdatasize (),
955 .IR posix_trace_attr_getmaxsystemeventsize (),
956 .IR posix_trace_attr_getmaxusereventsize (),
957 .IR posix_trace_attr_getname (),
958 .IR posix_trace_attr_getstreamfullpolicy (),
959 .IR posix_trace_attr_getstreamsize (),
960 .IR posix_trace_attr_init (),
961 .IR posix_trace_attr_setmaxdatasize (),
962 .IR posix_trace_attr_setname (),
963 .IR posix_trace_attr_setstreamsize (),
964 .IR posix_trace_attr_setstreamfullpolicy (),
965 .IR posix_trace_clear (),
966 .IR posix_trace_create (),
967 .IR posix_trace_event (),
968 .IR posix_trace_eventid_equal (),
969 .IR posix_trace_eventid_get_name (),
970 .IR posix_trace_eventid_open (),
971 .IR posix_trace_eventtypelist_getnext_id (),
972 .IR posix_trace_eventtypelist_rewind (),
973 .IR posix_trace_flush (),
974 .IR posix_trace_get_attr (),
975 .IR posix_trace_get_status (),
976 .IR posix_trace_getnext_event (),
977 .IR posix_trace_shutdown (),
978 .IR posix_trace_start (),
979 .IR posix_trace_stop (),
980 .IR posix_trace_trygetnext_event ().
984 .SS "TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER"
985 .\"O This option implies the
990 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
991 .\"O The following functions are present:
992 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
997 .IR posix_trace_eventset_add (),
998 .IR posix_trace_eventset_del (),
999 .IR posix_trace_eventset_empty (),
1000 .IR posix_trace_eventset_fill (),
1001 .IR posix_trace_eventset_ismember (),
1002 .IR posix_trace_get_filter (),
1003 .IR posix_trace_set_filter (),
1004 .IR posix_trace_trid_eventid_open ().
1008 .SS "TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT"
1009 .\"O Tracing children of the traced process is supported.
1010 ¥È¥ì¡¼¥¹¤µ¤ì¤Æ¤¤¤ë¥×¥í¥»¥¹¤Î»Ò¥×¥í¥»¥¹¤Î¥È¥ì¡¼¥¹¤ò¥µ¥Ý¡¼¥È¤¹¤ë¡£
1011 .\"O This option implies the
1012 .\"O .B _POSIX_TRACE
1016 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
1017 .\"O The following functions are present:
1018 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
1023 .IR posix_trace_attr_getinherited (),
1024 .IR posix_trace_attr_setinherited ().
1028 .SS "TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG"
1029 .\"O This option implies the
1030 .\"O .B _POSIX_TRACE
1034 ¥ª¥×¥·¥ç¥ó¤ò°ÅÌÛ¤ÎÆâ¤Ë»ØÄꤹ¤ë¡£
1035 .\"O The following functions are present:
1036 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
1041 .IR posix_trace_attr_getlogfullpolicy (),
1042 .IR posix_trace_attr_getlogsize (),
1043 .IR posix_trace_attr_setlogfullpolicy (),
1044 .IR posix_trace_attr_setlogsize (),
1045 .IR posix_trace_close (),
1046 .IR posix_trace_create_withlog (),
1047 .IR posix_trace_open (),
1048 .IR posix_trace_rewind ().
1052 .SS "TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT"
1053 .\"O The following functions are present:
1054 °Ê²¼¤Î´Ø¿ô¤¬Â¸ºß¤¹¤ë¡£
1059 .IR posix_mem_offset (),
1060 .IR posix_typed_mem_get_info (),
1061 .IR posix_typed_mem_open ().
1065 .SS "--- - _POSIX_VDISABLE"
1066 .\"O Always present (probably 0).
1067 .\"O Value to set a changeable special control
1068 .\"O character to indicate that it is disabled.
1069 ¾ï¤Ë¸ºß¤¹¤ë (¤¿¤Ö¤ó 0 ¤Ç¤¢¤ë)¡£
1070 Êѹ¹²Äǽ¤ÊÆüìÀ©¸æʸ»ú¤òÀßÄꤹ¤ëÃÍ¡£
1071 ¤³¤ì¤Ë¤è¤êÆüìÀ©¸æʸ»ú¤¬Ìµ¸ú¤Ç¤¢¤ë¤³¤È¤òɽ¤¹¡£
1072 .\"O .SH "XOPEN EXTENSIONS"
1076 .BR _XOPEN_REALTIME ,
1077 .BR _XOPEN_REALTIME_THREADS ,
1079 .\"O .\" To be described.
1080 .\" µ½Ò¤µ¤ì¤ëͽÄê¤Ç¤¢¤ë¡£