]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl) |
2 | .\" | |
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. | |
7 | .\" | |
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. | |
12 | .\" | |
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. | |
17 | .\" | |
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, | |
21 | .\" USA. | |
22 | .\" | |
69289f8a | 23 | .TH POSIXOPTIONS 7 2003-08-24 "" "Linux Programmer's Manual" |
fea681da MK |
24 | .SH NAME |
25 | posixoptions \- optional parts of the POSIX standard | |
26 | .SH DESCRIPTION | |
4dec66f9 | 27 | The POSIX standard (the information below is from POSIX.1-2001) |
d9bfdb9c | 28 | describes a set of behavior and interfaces for a compliant system. |
fea681da MK |
29 | However, many interfaces are optional and there are feature test macros |
30 | to test the availability of interfaces at compile time, and functions | |
31 | .BR sysconf (3), | |
32 | .BR fpathconf (3), | |
33 | .BR pathconf (3), | |
34 | .BR confstr (3) | |
c13182ef MK |
35 | to do this at run time. |
36 | From shell scripts one can use | |
fea681da MK |
37 | .BR getconf (1). |
38 | For more detail, see | |
39 | .BR sysconf (3). | |
40 | .LP | |
41 | We give the name of the POSIX abbreviation, the option, the name of the | |
63aa9df0 | 42 | .BR sysconf () |
fea681da MK |
43 | parameter used to inquire about the option, and possibly |
44 | a very short description. | |
45 | Much more precise detail can be found in the POSIX standard itself, | |
46 | versions of which can nowadays be accessed freely on the web. | |
47 | .SS "ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO" | |
48 | The advisory functions | |
49 | .br | |
50 | .nf | |
51 | .in +4 | |
63aa9df0 MK |
52 | .IR posix_fadvise (), |
53 | .IR posix_fallocate (), | |
54 | .IR posix_memalign (), | |
55 | .IR posix_madvise () | |
fea681da MK |
56 | .br |
57 | .in -4 | |
58 | .fi | |
59 | are present. | |
60 | .SS "AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO" | |
61 | The header | |
62 | .I <aio.h> | |
63 | is present. | |
64 | The functions | |
65 | .br | |
66 | .nf | |
67 | .in +4 | |
63aa9df0 MK |
68 | .IR aio_cancel (), |
69 | .IR aio_error (), | |
70 | .IR aio_fsync (), | |
71 | .IR aio_read (), | |
72 | .IR aio_return (), | |
73 | .IR aio_suspend (), | |
74 | .IR aio_write (), | |
75 | .IR lio_listio () | |
fea681da MK |
76 | .br |
77 | .in -4 | |
78 | .fi | |
79 | are present. | |
80 | .SS "BAR - _POSIX_BARRIERS - _SC_BARRIERS" | |
81 | This option implies the _POSIX_THREADS and | |
82 | _POSIX_THREAD_SAFE_FUNCTIONS options. | |
83 | The functions | |
84 | .br | |
85 | .nf | |
86 | .in +4 | |
63aa9df0 MK |
87 | .IR pthread_barrier_destroy (), |
88 | .IR pthread_barrier_init (), | |
89 | .IR pthread_barrier_wait (), | |
90 | .IR pthread_barrierattr_destroy (), | |
91 | .IR pthread_barrierattr_init () | |
fea681da MK |
92 | .in -4 |
93 | .br | |
94 | .fi | |
95 | are present. | |
96 | .\" .SS "BE" | |
97 | .\" Batch environment. | |
98 | .\" .SS "CD" | |
99 | .\" C development. | |
100 | .SS "--- - POSIX_CHOWN_RESTRICTED" | |
4dec66f9 | 101 | If this option is in effect (as it always is under POSIX.1-2001) |
fea681da MK |
102 | then only root may change the owner of a file, and non-root can only |
103 | set the group of a file to one of the groups it belongs to. | |
104 | This affects the functions | |
63aa9df0 MK |
105 | .IR chown (), |
106 | .IR fchown (). | |
fea681da MK |
107 | .\" What about lchown() ? |
108 | .SS "CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION" | |
109 | This option implies the _POSIX_TIMERS option. | |
110 | The functions | |
111 | .br | |
112 | .nf | |
113 | .in +4 | |
63aa9df0 MK |
114 | .IR pthread_condattr_getclock (), |
115 | .IR pthread_condattr_setclock (), | |
116 | .IR clock_nanosleep () | |
fea681da MK |
117 | .in -4 |
118 | .br | |
119 | .fi | |
120 | are present. | |
121 | If CLOCK_REALTIME is changed by the function | |
63aa9df0 | 122 | .IR clock_settime (), |
fea681da MK |
123 | then this affects all timers set for an absolute time. |
124 | .SS "CPT - _POSIX_CPUTIME - _SC_CPUTIME" | |
125 | The clockID CLOCK_PROCESS_CPUTIME_ID is supported. | |
126 | The initial value of this clock is 0 for each process. | |
127 | This option implies the _POSIX_TIMERS option. | |
128 | The function | |
63aa9df0 | 129 | .IR clock_getcpuclockid () |
fea681da MK |
130 | is present. |
131 | .\" .SS "FD" | |
132 | .\" Fortran development | |
133 | .\" .SS "FR" | |
134 | .\" Fortran runtime | |
135 | .SS "--- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING" | |
c13182ef MK |
136 | This option has been deleted. |
137 | Not in final XPG6. | |
fea681da MK |
138 | .SS "FSC - _POSIX_FSYNC - _SC_FSYNC " |
139 | The function | |
63aa9df0 | 140 | .IR fsync () |
fea681da MK |
141 | is present. |
142 | .SS "IP6 - _POSIX_IPV6 - _SC_IPV6" | |
143 | Internet Protocol Version 6 is supported. | |
144 | .SS "--- - _POSIX_JOB_CONTROL - _SC_JOB_CONTROL" | |
4dec66f9 | 145 | If this option is in effect (as it always is under POSIX.1-2001) |
df8a3cac | 146 | then the system implements POSIX-style job control, and the functions |
fea681da MK |
147 | .br |
148 | .nf | |
149 | .in +4 | |
63aa9df0 MK |
150 | .IR setpgid (), |
151 | .IR tcdrain (), | |
152 | .IR tcflush (), | |
153 | .IR tcgetpgrp (), | |
154 | .IR tcsendbreak (), | |
155 | .IR tcsetattr (), | |
156 | .IR tcsetpgrp () | |
fea681da MK |
157 | .in -4 |
158 | are present. | |
159 | .fi | |
160 | .SS "MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES" | |
c13182ef MK |
161 | Shared memory is supported. |
162 | The include file | |
fea681da | 163 | .I <sys/mman.h> |
c13182ef MK |
164 | is present. |
165 | The functions | |
63aa9df0 MK |
166 | .IR mmap (), |
167 | .IR msync (), | |
168 | .IR munmap () | |
fea681da MK |
169 | are present. |
170 | .SS "ML - _POSIX_MEMLOCK - _SC_MEMLOCK" | |
c13182ef MK |
171 | Shared memory can be locked into core. |
172 | The functions | |
63aa9df0 MK |
173 | .IR mlockall (), |
174 | .IR munlockall () | |
fea681da MK |
175 | are present. |
176 | .SS "MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE" | |
c13182ef MK |
177 | More precisely, ranges can be locked into core. |
178 | The functions | |
63aa9df0 MK |
179 | .IR mlock (), |
180 | .IR munlock () | |
fea681da MK |
181 | are present. |
182 | .SS "MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION" | |
183 | The function | |
63aa9df0 | 184 | .IR mprotect () |
fea681da MK |
185 | is present. |
186 | .SS "MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING" | |
187 | The include file | |
188 | .IR <mqueue.h> | |
c13182ef MK |
189 | is present. |
190 | The functions | |
fea681da MK |
191 | .br |
192 | .nf | |
193 | .in +4 | |
63aa9df0 MK |
194 | .IR mq_close (), |
195 | .IR mq_getattr (), | |
196 | .IR mq_notify (), | |
197 | .IR mq_open (), | |
198 | .IR mq_receive (), | |
199 | .IR mq_send (), | |
200 | .IR mq_setattr (), | |
201 | .IR mq_unlink () | |
fea681da MK |
202 | .br |
203 | .in -4 | |
204 | .fi | |
205 | are present. | |
206 | .SS "MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK" | |
207 | .nf | |
208 | CLOCK_MONOTONIC is supported. | |
209 | This option implies the _POSIX_TIMERS option. | |
210 | Affected functions are | |
211 | .in +4 | |
63aa9df0 MK |
212 | .IR aio_suspend (), |
213 | .IR clock_getres (), | |
214 | .IR clock_gettime (), | |
215 | .IR clock_settime (), | |
216 | .IR timer_create (). | |
fea681da MK |
217 | .in -4 |
218 | .fi | |
219 | .SS "--- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS" | |
c13182ef MK |
220 | This option has been deleted. |
221 | Not in final XPG6. | |
fea681da MK |
222 | .\" .SS "MX" |
223 | .\" IEC 60559 Floating-Point Option. | |
224 | .SS "--- - _POSIX_NO_TRUNC" | |
4dec66f9 | 225 | If this option is in effect (as it always is under POSIX.1-2001) |
fea681da MK |
226 | then pathname components longer than NAME_MAX are not truncated, |
227 | but give an error. | |
228 | This property may be dependent on the path prefix of the component. | |
229 | .SS "PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO" | |
230 | This option says that one can specify priorities for asynchronous I/O. | |
231 | This affects the functions | |
232 | .br | |
233 | .nf | |
234 | .in +4 | |
63aa9df0 MK |
235 | .IR aio_read (), |
236 | .IR aio_write (). | |
fea681da MK |
237 | .in -4 |
238 | .fi | |
239 | .SS "PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING" | |
240 | The include file | |
241 | .I <sched.h> | |
c13182ef MK |
242 | is present. |
243 | The functions | |
fea681da MK |
244 | .br |
245 | .nf | |
246 | .in +4 | |
63aa9df0 MK |
247 | .IR sched_get_priority_max (), |
248 | .IR sched_get_priority_min (), | |
249 | .IR sched_getparam (), | |
250 | .IR sched_getscheduler (), | |
251 | .IR sched_rr_get_interval (), | |
252 | .IR sched_setparam (), | |
253 | .IR sched_setscheduler (), | |
254 | .IR sched_yield () | |
fea681da MK |
255 | .in -4 |
256 | .br | |
257 | .fi | |
258 | are present. | |
259 | If also _POSIX_SPAWN is in effect, then the functions | |
260 | .br | |
261 | .nf | |
262 | .in +4 | |
63aa9df0 MK |
263 | .IR posix_spawnattr_getschedparam (), |
264 | .IR posix_spawnattr_getschedpolicy (), | |
265 | .IR posix_spawnattr_setschedparam (), | |
266 | .IR posix_spawnattr_setschedpolicy () | |
fea681da MK |
267 | .in -4 |
268 | are present. | |
269 | .fi | |
270 | .SS "RS - _POSIX_RAW_SOCKETS" | |
c13182ef MK |
271 | Raw sockets are supported. |
272 | Affected functions are | |
63aa9df0 MK |
273 | .IR getsockopt (), |
274 | .IR setsockopt (). | |
fea681da | 275 | .SS "--- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS" |
c13182ef MK |
276 | This option implies the _POSIX_THREADS option. |
277 | Conversely, | |
4dec66f9 | 278 | under POSIX.1-2001 the _POSIX_THREADS option implies this option. |
fea681da MK |
279 | .nf |
280 | The functions | |
281 | .in +4 | |
63aa9df0 MK |
282 | .IR pthread_rwlock_destroy (), |
283 | .IR pthread_rwlock_init (), | |
284 | .IR pthread_rwlock_rdlock (), | |
285 | .IR pthread_rwlock_tryrdlock (), | |
286 | .IR pthread_rwlock_trywrlock (), | |
287 | .IR pthread_rwlock_unlock (), | |
288 | .IR pthread_rwlock_wrlock (), | |
289 | .IR pthread_rwlockattr_destroy (), | |
290 | .IR pthread_rwlockattr_init () | |
fea681da MK |
291 | .in -4 |
292 | are present. | |
293 | .fi | |
294 | .SS "RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS" | |
c13182ef MK |
295 | Realtime signals are supported. |
296 | The functions | |
fea681da MK |
297 | .br |
298 | .nf | |
299 | .in +4 | |
63aa9df0 MK |
300 | .IR sigqueue (), |
301 | .IR sigtimedwait (), | |
302 | .IR sigwaitinfo () | |
fea681da MK |
303 | .br |
304 | .in -4 | |
305 | .fi | |
306 | are present. | |
307 | .SS "--- - _POSIX_REGEXP - _SC_REGEXP" | |
4dec66f9 | 308 | If this option is in effect (as it always is under POSIX.1-2001) |
fea681da MK |
309 | then POSIX regular expressions are supported and the functions |
310 | .br | |
311 | .nf | |
312 | .in +4 | |
63aa9df0 MK |
313 | .IR regcomp (), |
314 | .IR regerror (), | |
315 | .IR regexec (), | |
316 | .IR regfree () | |
fea681da MK |
317 | .br |
318 | .in -4 | |
319 | .fi | |
320 | are present. | |
321 | .SS "--- - _POSIX_SAVED_IDS - _SC_SAVED_IDS" | |
4dec66f9 | 322 | If this option is in effect (as it always is under POSIX.1-2001) |
fea681da MK |
323 | then a process has a saved set-user-ID and a saved set-group-ID. |
324 | Affected functions are | |
325 | .br | |
326 | .nf | |
327 | .in +4 | |
63aa9df0 MK |
328 | .IR exec (), |
329 | .IR kill (), | |
330 | .IR seteuid (), | |
331 | .IR setegid (), | |
332 | .IR setgid (), | |
333 | .IR setuid (). | |
fea681da MK |
334 | .br |
335 | .in -4 | |
336 | .fi | |
337 | .\" .SS "SD" | |
338 | .\" Software development | |
339 | .SS "SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES" | |
340 | The include file | |
341 | .I <semaphore.h> | |
342 | is present. | |
343 | The functions | |
344 | .br | |
345 | .nf | |
346 | .in +4 | |
63aa9df0 MK |
347 | .IR sem_close (), |
348 | .IR sem_destroy (), | |
349 | .IR sem_getvalue (), | |
350 | .IR sem_init (), | |
351 | .IR sem_open (), | |
352 | .IR sem_post (), | |
353 | .IR sem_trywait (), | |
354 | .IR sem_unlink (), | |
355 | .IR sem_wait () | |
fea681da MK |
356 | .br |
357 | .in -4 | |
358 | .fi | |
359 | are present. | |
360 | .SS "SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS" | |
361 | The functions | |
362 | .br | |
363 | .nf | |
364 | .in +4 | |
63aa9df0 MK |
365 | .IR mmap (), |
366 | .IR munmap (), | |
367 | .IR shm_open (), | |
368 | .IR shm_unlink () | |
fea681da MK |
369 | .br |
370 | .in -4 | |
371 | .fi | |
372 | are present. | |
373 | .SS "--- - _POSIX_SHELL - _SC_SHELL" | |
4dec66f9 | 374 | If this option is in effect (as it always is under POSIX.1-2001), |
fea681da | 375 | the function |
63aa9df0 | 376 | .IR system () |
fea681da MK |
377 | is present. |
378 | .SS "SPN - _POSIX_SPAWN - _SC_SPAWN" | |
379 | This option describes support for process creation in a context where | |
380 | it is difficult or impossible to use | |
63aa9df0 | 381 | .IR fork (), |
75b94dc3 | 382 | for example, because no MMU is present. |
fea681da MK |
383 | If _POSIX_SPAWN is in effect, then the include file |
384 | .I <spawn.h> | |
385 | and the functions | |
386 | .br | |
387 | .nf | |
388 | .in +4 | |
63aa9df0 MK |
389 | .IR posix_spawn (), |
390 | .IR posix_spawn_file_actions_addclose (), | |
391 | .IR posix_spawn_file_actions_adddup2 (), | |
392 | .IR posix_spawn_file_actions_addopen (), | |
393 | .IR posix_spawn_file_actions_destroy (), | |
394 | .IR posix_spawn_file_actions_init (), | |
395 | .IR posix_spawnattr_destroy (), | |
396 | .IR posix_spawnattr_getsigdefault (), | |
397 | .IR posix_spawnattr_getflags (), | |
398 | .IR posix_spawnattr_getpgroup (), | |
399 | .IR posix_spawnattr_getsigmask (), | |
400 | .IR posix_spawnattr_init (), | |
401 | .IR posix_spawnattr_setsigdefault (), | |
402 | .IR posix_spawnattr_setflags (), | |
403 | .IR posix_spawnattr_setpgroup (), | |
404 | .IR posix_spawnattr_setsigmask (), | |
405 | .IR posix_spawnp () | |
fea681da MK |
406 | .in -4 |
407 | .br | |
408 | .fi | |
409 | are present. | |
410 | If also _POSIX_PRIORITY_SCHEDULING is in effect, then | |
411 | the functions | |
412 | .br | |
413 | .nf | |
414 | .in +4 | |
63aa9df0 MK |
415 | .IR posix_spawnattr_getschedparam (), |
416 | .IR posix_spawnattr_getschedpolicy (), | |
417 | .IR posix_spawnattr_setschedparam (), | |
418 | .IR posix_spawnattr_setschedpolicy () | |
fea681da MK |
419 | .in -4 |
420 | are present. | |
421 | .fi | |
422 | .SS "SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS" | |
423 | This option implies the _POSIX_THREADS and | |
424 | _POSIX_THREAD_SAFE_FUNCTIONS options. | |
425 | The functions | |
426 | .br | |
427 | .nf | |
428 | .in +4 | |
63aa9df0 MK |
429 | .IR pthread_spin_destroy (), |
430 | .IR pthread_spin_init (), | |
431 | .IR pthread_spin_lock (), | |
432 | .IR pthread_spin_trylock (), | |
433 | .IR pthread_spin_unlock () | |
fea681da MK |
434 | .in -4 |
435 | .br | |
436 | .fi | |
437 | are present. | |
438 | .SS "SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER" | |
439 | The scheduling policy SCHED_SPORADIC is supported. | |
440 | This option implies the _POSIX_PRIORITY_SCHEDULING option. | |
441 | Affected functions are | |
442 | .br | |
443 | .nf | |
444 | .in +4 | |
63aa9df0 MK |
445 | .IR sched_setparam (), |
446 | .IR sched_setscheduler (). | |
fea681da MK |
447 | .in -4 |
448 | .br | |
449 | .fi | |
450 | .SS "SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO" | |
451 | Affected functions are | |
63aa9df0 MK |
452 | .IR open (), |
453 | .IR msync (), | |
454 | .IR fsync (), | |
455 | .IR fdatasync (). | |
fea681da MK |
456 | .SS "TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR" |
457 | Affected functions are | |
458 | .br | |
459 | .nf | |
460 | .in +4 | |
63aa9df0 MK |
461 | .IR pthread_attr_getstack (), |
462 | .IR pthread_attr_getstackaddr (), | |
463 | .IR pthread_attr_setstack (), | |
464 | .IR pthread_attr_setstackaddr (). | |
fea681da MK |
465 | .in -4 |
466 | .br | |
467 | .fi | |
468 | .SS "TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE" | |
469 | Affected functions are | |
470 | .br | |
471 | .nf | |
472 | .in +4 | |
63aa9df0 MK |
473 | .IR pthread_attr_getstack (), |
474 | .IR pthread_attr_getstacksize (), | |
475 | .IR pthread_attr_setstack (), | |
476 | .IR pthread_attr_setstacksize (). | |
fea681da MK |
477 | .in -4 |
478 | .br | |
479 | .fi | |
480 | .SS "TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME" | |
481 | The clockID CLOCK_THREAD_CPUTIME_ID is supported. | |
482 | This option implies the _POSIX_TIMERS option. | |
483 | Affected functions are | |
484 | .br | |
485 | .nf | |
486 | .in +4 | |
63aa9df0 MK |
487 | .IR pthread_getcpuclockid (), |
488 | .IR clock_getres (), | |
489 | .IR clock_gettime (), | |
490 | .IR clock_settime (), | |
491 | .IR timer_create (). | |
fea681da MK |
492 | .in -4 |
493 | .br | |
494 | .fi | |
495 | .SS "TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT" | |
496 | Affected functions are | |
497 | .br | |
498 | .nf | |
499 | .in +4 | |
63aa9df0 MK |
500 | .IR pthread_mutexattr_getprotocol (), |
501 | .IR pthread_mutexattr_setprotocol (). | |
fea681da MK |
502 | .in -4 |
503 | .br | |
504 | .fi | |
505 | .SS "TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT" | |
506 | Affected functions are | |
507 | .br | |
508 | .nf | |
509 | .in +4 | |
63aa9df0 MK |
510 | .IR pthread_mutex_getprioceiling (), |
511 | .IR pthread_mutex_setprioceiling (), | |
512 | .IR pthread_mutexattr_getprioceiling (), | |
513 | .IR pthread_mutexattr_getprotocol (), | |
514 | .IR pthread_mutexattr_setprioceiling (), | |
515 | .IR pthread_mutexattr_setprotocol (). | |
fea681da MK |
516 | .in -4 |
517 | .br | |
518 | .fi | |
519 | .SS "TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING" | |
520 | If this option is in effect, the different threads inside a process | |
521 | can run with different priorities and/or different schedulers. | |
522 | Affected functions are | |
523 | .br | |
524 | .nf | |
525 | .in +4 | |
63aa9df0 MK |
526 | .IR pthread_attr_getinheritsched (), |
527 | .IR pthread_attr_getschedpolicy (), | |
528 | .IR pthread_attr_getscope (), | |
529 | .IR pthread_attr_setinheritsched (), | |
530 | .IR pthread_attr_setschedpolicy (), | |
531 | .IR pthread_attr_setscope (), | |
532 | .IR pthread_getschedparam (), | |
533 | .IR pthread_setschedparam (), | |
534 | .IR pthread_setschedprio (). | |
fea681da MK |
535 | .in -4 |
536 | .br | |
537 | .fi | |
538 | .SS "TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED" | |
539 | Affected functions are | |
540 | .br | |
541 | .nf | |
542 | .in +4 | |
63aa9df0 MK |
543 | .IR pthread_barrierattr_getpshared (), |
544 | .IR pthread_barrierattr_setpshared (), | |
545 | .IR pthread_condattr_getpshared (), | |
546 | .IR pthread_condattr_setpshared (), | |
547 | .IR pthread_mutexattr_getpshared (), | |
548 | .IR pthread_mutexattr_setpshared (), | |
549 | .IR pthread_rwlockattr_getpshared (), | |
550 | .IR pthread_rwlockattr_setpshared (). | |
fea681da MK |
551 | .in -4 |
552 | .br | |
553 | .fi | |
554 | .SS "TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS" | |
555 | Affected functions are | |
556 | .br | |
557 | .nf | |
558 | .in +4 | |
63aa9df0 MK |
559 | .IR readdir_r (), |
560 | .IR getgrgid_r (), | |
561 | .IR getgrnam_r (), | |
562 | .IR getpwnam_r (), | |
563 | .IR getpwuid_r (), | |
564 | .IR flockfile (), | |
565 | .IR ftrylockfile (), | |
566 | .IR funlockfile (), | |
567 | .IR getc_unlocked (), | |
568 | .IR getchar_unlocked (), | |
569 | .IR putc_unlocked (), | |
570 | .IR putchar_unlocked (), | |
571 | .IR rand_r (), | |
572 | .IR strerror_r (), | |
573 | .IR strtok_r (), | |
574 | .IR asctime_r (), | |
575 | .IR ctime_r (), | |
576 | .IR gmtime_r (), | |
577 | .IR localtime_r (). | |
fea681da MK |
578 | .in -4 |
579 | .br | |
580 | .fi | |
581 | .SS "TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER" | |
582 | This option implies the _POSIX_THREAD_PRIORITY_SCHEDULING option. | |
583 | Affected functions are | |
584 | .br | |
585 | .nf | |
586 | .in +4 | |
63aa9df0 MK |
587 | .IR sched_getparam (), |
588 | .IR sched_setparam (), | |
589 | .IR sched_setscheduler (). | |
fea681da MK |
590 | .in -4 |
591 | .br | |
592 | .fi | |
593 | .SS "THR - _POSIX_THREADS - _SC_THREADS" | |
c13182ef MK |
594 | Basic support for POSIX threads is available. |
595 | The functions | |
fea681da MK |
596 | .br |
597 | .nf | |
598 | .in +4 | |
63aa9df0 MK |
599 | .IR pthread_atfork (), |
600 | .IR pthread_attr_destroy (), | |
601 | .IR pthread_attr_getdetachstate (), | |
602 | .IR pthread_attr_getschedparam (), | |
603 | .IR pthread_attr_init (), | |
604 | .IR pthread_attr_setdetachstate (), | |
605 | .IR pthread_attr_setschedparam (), | |
606 | .IR pthread_cancel (), | |
607 | .IR pthread_cleanup_push (), | |
608 | .IR pthread_cleanup_pop (), | |
609 | .IR pthread_cond_broadcast (), | |
610 | .IR pthread_cond_destroy (), | |
611 | .IR pthread_cond_init (), | |
612 | .IR pthread_cond_signal (), | |
613 | .IR pthread_cond_timedwait (), | |
614 | .IR pthread_cond_wait (), | |
615 | .IR pthread_condattr_destroy (), | |
616 | .IR pthread_condattr_init (), | |
617 | .IR pthread_create (), | |
618 | .IR pthread_detach (), | |
619 | .IR pthread_equal (), | |
620 | .IR pthread_exit (), | |
621 | .IR pthread_getspecific (), | |
a3fc9c0f | 622 | .IR pthread_join (), |
63aa9df0 MK |
623 | .IR pthread_key_create (), |
624 | .IR pthread_key_delete (), | |
625 | .IR pthread_mutex_destroy (), | |
626 | .IR pthread_mutex_init (), | |
627 | .IR pthread_mutex_lock (), | |
628 | .IR pthread_mutex_trylock (), | |
629 | .IR pthread_mutex_unlock (), | |
630 | .IR pthread_mutexattr_destroy (), | |
631 | .IR pthread_mutexattr_init (), | |
632 | .IR pthread_once (), | |
633 | .IR pthread_rwlock_destroy (), | |
634 | .IR pthread_rwlock_init (), | |
635 | .IR pthread_rwlock_rdlock (), | |
636 | .IR pthread_rwlock_tryrdlock (), | |
637 | .IR pthread_rwlock_trywrlock (), | |
638 | .IR pthread_rwlock_unlock (), | |
639 | .IR pthread_rwlock_wrlock (), | |
640 | .IR pthread_rwlockattr_destroy (), | |
641 | .IR pthread_rwlockattr_init (), | |
642 | .IR pthread_self (), | |
643 | .IR pthread_setcancelstate (), | |
644 | .IR pthread_setcanceltype (), | |
645 | .IR pthread_setspecific (), | |
646 | .IR pthread_testcancel () | |
fea681da MK |
647 | .in -4 |
648 | .br | |
649 | .fi | |
650 | are present. | |
651 | .SS "TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS" | |
652 | The functions | |
653 | .br | |
654 | .nf | |
655 | .in +4 | |
63aa9df0 MK |
656 | .IR mq_timedreceive (), |
657 | .IR mq_timedsend (), | |
658 | .IR pthread_mutex_timedlock (), | |
659 | .IR pthread_rwlock_timedrdlock (), | |
660 | .IR pthread_rwlock_timedwrlock (), | |
661 | .IR sem_timedwait (), | |
662 | .IR posix_trace_timedgetnext_event () | |
fea681da MK |
663 | .in -4 |
664 | .br | |
665 | .fi | |
666 | are present. | |
667 | .SS "TMR - _POSIX_TIMERS - _SC_TIMERS" | |
668 | The functions | |
669 | .br | |
670 | .nf | |
671 | .in +4 | |
63aa9df0 MK |
672 | .IR clock_getres (), |
673 | .IR clock_gettime (), | |
674 | .IR clock_settime (), | |
675 | .IR nanosleep (), | |
676 | .IR timer_create (), | |
677 | .IR timer_delete (), | |
678 | .IR timer_gettime (), | |
679 | .IR timer_getoverrun (), | |
680 | .IR timer_settime () | |
fea681da MK |
681 | .in -4 |
682 | .br | |
683 | .fi | |
684 | are present. | |
685 | .SS "TRC - _POSIX_TRACE - _SC_TRACE" | |
c13182ef MK |
686 | POSIX tracing is available. |
687 | The functions | |
fea681da MK |
688 | .br |
689 | .nf | |
690 | .in +4 | |
63aa9df0 MK |
691 | .IR posix_trace_attr_destroy (), |
692 | .IR posix_trace_attr_getclockres (), | |
693 | .IR posix_trace_attr_getcreatetime (), | |
694 | .IR posix_trace_attr_getgenversion (), | |
695 | .IR posix_trace_attr_getmaxdatasize (), | |
696 | .IR posix_trace_attr_getmaxsystemeventsize (), | |
697 | .IR posix_trace_attr_getmaxusereventsize (), | |
698 | .IR posix_trace_attr_getname (), | |
699 | .IR posix_trace_attr_getstreamfullpolicy (), | |
700 | .IR posix_trace_attr_getstreamsize (), | |
701 | .IR posix_trace_attr_init (), | |
702 | .IR posix_trace_attr_setmaxdatasize (), | |
703 | .IR posix_trace_attr_setname (), | |
704 | .IR posix_trace_attr_setstreamsize (), | |
705 | .IR posix_trace_attr_setstreamfullpolicy (), | |
706 | .IR posix_trace_clear (), | |
707 | .IR posix_trace_create (), | |
708 | .IR posix_trace_event (), | |
709 | .IR posix_trace_eventid_equal (), | |
710 | .IR posix_trace_eventid_get_name (), | |
711 | .IR posix_trace_eventid_open (), | |
712 | .IR posix_trace_eventtypelist_getnext_id (), | |
713 | .IR posix_trace_eventtypelist_rewind (), | |
714 | .IR posix_trace_flush (), | |
715 | .IR posix_trace_get_attr (), | |
716 | .IR posix_trace_get_status (), | |
717 | .IR posix_trace_getnext_event (), | |
718 | .IR posix_trace_shutdown (), | |
719 | .IR posix_trace_start (), | |
720 | .IR posix_trace_stop (), | |
721 | .IR posix_trace_trygetnext_event () | |
fea681da MK |
722 | .in -4 |
723 | .br | |
724 | .fi | |
725 | are present. | |
726 | .SS "TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER" | |
727 | This option implies the _POSIX_TRACE option. | |
728 | The functions | |
729 | .br | |
730 | .nf | |
731 | .in +4 | |
63aa9df0 MK |
732 | .IR posix_trace_eventset_add (), |
733 | .IR posix_trace_eventset_del (), | |
734 | .IR posix_trace_eventset_empty (), | |
735 | .IR posix_trace_eventset_fill (), | |
736 | .IR posix_trace_eventset_ismember (), | |
737 | .IR posix_trace_get_filter (), | |
738 | .IR posix_trace_set_filter (), | |
739 | .IR posix_trace_trid_eventid_open () | |
fea681da MK |
740 | .in -4 |
741 | .br | |
742 | .fi | |
743 | are present. | |
744 | .SS "TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT" | |
745 | Tracing children of the traced process is supported. | |
746 | This option implies the _POSIX_TRACE option. | |
747 | The functions | |
748 | .br | |
749 | .nf | |
750 | .in +4 | |
63aa9df0 MK |
751 | .IR posix_trace_attr_getinherited (), |
752 | .IR posix_trace_attr_setinherited () | |
fea681da MK |
753 | .in -4 |
754 | .br | |
755 | .fi | |
756 | are present. | |
757 | .SS "TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG" | |
758 | This option implies the _POSIX_TRACE option. | |
759 | The functions | |
760 | .br | |
761 | .nf | |
762 | .in +4 | |
63aa9df0 MK |
763 | .IR posix_trace_attr_getlogfullpolicy (), |
764 | .IR posix_trace_attr_getlogsize (), | |
765 | .IR posix_trace_attr_setlogfullpolicy (), | |
766 | .IR posix_trace_attr_setlogsize (), | |
767 | .IR posix_trace_close (), | |
768 | .IR posix_trace_create_withlog (), | |
769 | .IR posix_trace_open (), | |
770 | .IR posix_trace_rewind () | |
fea681da MK |
771 | .in -4 |
772 | .br | |
773 | .fi | |
774 | are present. | |
775 | .SS "TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT" | |
776 | The functions | |
777 | .br | |
778 | .nf | |
779 | .in +4 | |
63aa9df0 MK |
780 | .IR posix_mem_offset (), |
781 | .IR posix_typed_mem_get_info (), | |
782 | .IR posix_typed_mem_open () | |
fea681da MK |
783 | .in -4 |
784 | .br | |
785 | .fi | |
786 | are present. | |
787 | .SS "--- - _POSIX_VDISABLE" | |
c13182ef MK |
788 | Always present (probably 0). |
789 | Value to set a changeable special control | |
1954b6a9 | 790 | character to indicate that it is disabled. |
fea681da MK |
791 | .SH "XOPEN EXTENSIONS" |
792 | .BR _XOPEN_CRYPT , | |
793 | .BR _XOPEN_LEGACY , | |
794 | .BR _XOPEN_REALTIME , | |
795 | .BR _XOPEN_REALTIME_THREADS , | |
796 | .BR _XOPEN_UNIX . | |
fea681da | 797 | .\" To be described. |
fea681da MK |
798 | .SH "SEE ALSO" |
799 | .BR sysconf (3) |