source: rtems-docs/posix1003_1/posix1003_1.rst @ 5daabd2

4.115
Last change on this file since 5daabd2 was 5daabd2, checked in by Amar Takhar <amar@…>, on 01/16/16 at 04:41:06

Initial reST documentation using Sphinx.

  • Property mode set to 100644
File size: 82.9 KB
Line 
1:orphan:
2
3
4
5.. COMMENT: %**end of header
6
7.. COMMENT: COPYRIGHT (c) 1989-2013.
8
9.. COMMENT: On-Line Applications Research Corporation (OAR).
10
11.. COMMENT: All rights reserved.
12
13.. COMMENT: Master file for the POSIX 1003.1 Compliance Guide
14
15.. COMMENT: COPYRIGHT (c) 1988-2002.
16
17.. COMMENT: On-Line Applications Research Corporation (OAR).
18
19.. COMMENT: All rights reserved.
20
21.. COMMENT: The following determines which set of the tables and figures we will use.
22
23.. COMMENT: We default to ASCII but if available TeX or HTML versions will
24
25.. COMMENT: be used instead.
26
27.. COMMENT: @clear use-html
28
29.. COMMENT: @clear use-tex
30
31.. COMMENT: The following variable says to use texinfo or html for the two column
32
33.. COMMENT: texinfo tables.  For somethings the format does not look good in html.
34
35.. COMMENT: With our adjustment to the left column in TeX, it nearly always looks
36
37.. COMMENT: good printed.
38
39.. COMMENT: Custom whitespace adjustments.  We could fiddle a bit more.
40
41.. COMMENT: Title Page Stuff
42
43.. COMMENT: I don't really like having a short title page.  -joel
44
45.. COMMENT: @shorttitlepage RTEMS POSIX 1003.1 Compliance Guide
46
47===================================
48RTEMS POSIX 1003.1 Compliance Guide
49===================================
50
51.. COMMENT: COPYRIGHT (c) 1988-2015.
52
53.. COMMENT: On-Line Applications Research Corporation (OAR).
54
55.. COMMENT: All rights reserved.
56
57.. COMMENT: The following puts a space somewhere on an otherwise empty page so we
58
59.. COMMENT: can force the copyright description onto a left hand page.
60
61COPYRIGHT © 1988 - 2015.
62
63On-Line Applications Research Corporation (OAR).
64
65The authors have used their best efforts in preparing
66this material.  These efforts include the development, research,
67and testing of the theories and programs to determine their
68effectiveness.  No warranty of any kind, expressed or implied,
69with regard to the software or the material contained in this
70document is provided.  No liability arising out of the
71application or use of any product described in this document is
72assumed.  The authors reserve the right to revise this material
73and to make changes from time to time in the content hereof
74without obligation to notify anyone of such revision or changes.
75
76The RTEMS Project is hosted at http://www.rtems.org.  Any
77inquiries concerning RTEMS, its related support components, or its
78documentation should be directed to the Community Project hosted athttp://www.rtems.org.
79
80Any inquiries for commercial services including training, support, custom
81development, application development assistance should be directed tohttp://www.rtems.com.
82
83.. COMMENT: This prevents a black box from being printed on "overflow" lines.
84
85.. COMMENT: The alternative is to rework a sentence to avoid this problem.
86
87RTEMS POSIX 1003.1 Compliance Guide
88###################################
89
90.. COMMENT: COPYRIGHT (c) 1988-2002.
91
92.. COMMENT: On-Line Applications Research Corporation (OAR).
93
94.. COMMENT: All rights reserved.
95
96Preface
97#######
98
99This document lists the functions, constant, macros, feature flags,
100and types defined in the POSIX 1003.1 standard.  Each section in
101this document corresponds to a section in the 1003.1 standard
102and the implementation status of the items required by the standard
103are listed.
104
105RTEMS supports a number of POSIX process, user, and group oriented
106routines in what is referred to as a "SUSP" (Single-User, Single
107Process) manner.  RTEMS supports a single process, multithreaded
108POSIX 1003.1b environment.  In a pure world, there would be
109no reason to even include routines like ``getpid()`` when there
110can only be one process.  But providing routines like ``getpid()``
111and making them work in a sensible fashion for an embedded environment
112while not returning ENOSYS (for not implemented) makes it significantly
113easier to port code from a UNIX environment without modifying it.
114
115.. COMMENT: COPYRIGHT (c) 1988-2002.
116
117.. COMMENT: On-Line Applications Research Corporation (OAR).
118
119.. COMMENT: All rights reserved.
120
121General
122#######
123
124Scope
125=====
126
127Normative References
128====================
129
130Conformance
131===========
132
133.. code:: c
134
135    NGROUPS_MAX, Feature Flag,
136    _POSIX_ASYNCHRONOUS_IO, Feature Flag,
137    _POSIX_CHOWN_RESTRICTED, Feature Flag,
138    _POSIX_FSYNC, Feature Flag,
139    _POSIX_JOB_CONTROL, Feature Flag,
140    _POSIX_MAPPED_FILES, Feature Flag,
141    _POSIX_MEMLOCK, Feature Flag,
142    _POSIX_MEMLOCK_RANGE, Feature Flag,
143    _POSIX_MEMORY_PROTECTION, Feature Flag,
144    _POSIX_MESSAGE_PASSING, Feature Flag,
145    _POSIX_PRIORITIZED_IO, Feature Flag,
146    _POSIX_PRIORITY_SCHEDULING, Feature Flag,
147    _POSIX_REALTIME_SIGNALS, Feature Flag,
148    _POSIX_SEMAPHORES, Feature Flag,
149    _POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
150    _POSIX_SYNCHRONIZED_IO, Feature Flag,
151    _POSIX_TIMERS, Feature Flag,
152    _POSIX_THREAD_PRIO_INHERIT, Feature Flag,
153    _POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
154    _POSIX_THREADS, Feature Flag,
155    _POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
156
157.. COMMENT: COPYRIGHT (c) 1988-2002.
158
159.. COMMENT: On-Line Applications Research Corporation (OAR).
160
161.. COMMENT: All rights reserved.
162
163Terminology and General Requirements
164####################################
165
166Conventions
167===========
168
169Definitions
170===========
171
172General Concepts
173================
174
175Error Numbers
176=============
177
178.. code:: c
179
180    E2BIG, Constant, Implemented
181    EACCES, Constant, Implemented
182    EAGAIN, Constant, Implemented
183    EBADF, Constant, Implemented
184    EBADMSG, Constant, Implemented
185    EBUSY, Constant, Implemented
186    ECANCELED, Constant, Unimplemented
187    ECHILD, Constant, Implemented
188    EDEADLK, Constant, Implemented
189    EDOM, Constant, Implemented
190    EEXIST, Constant, Implemented
191    EFAULT, Constant, Implemented
192    EFBIG, Constant, Implemented
193    EINPROGRESS, Constant, Implemented
194    EINTR, Constant, Implemented
195    EINVAL, Constant, Implemented
196    EIO, Constant, Implemented
197    EISDIR, Constant, Implemented
198    EMFILE, Constant, Implemented
199    EMLINK, Constant, Implemented
200    EMSGSIZE, Constant, Implemented
201    ENAMETOOLONG, Constant, Implemented
202    ENFILE, Constant, Implemented
203    ENODEV, Constant, Implemented
204    ENOENT, Constant, Implemented
205    ENOEXEC, Constant, Implemented
206    ENOLCK, Constant, Implemented
207    ENOMEM, Constant, Implemented
208    ENOSPC, Constant, Implemented
209    ENOSYS, Constant, Implemented
210    ENOTDIR, Constant, Implemented
211    ENOTEMPTY, Constant, Implemented
212    ENOTSUP, Constant, Implemented
213    ENOTTY, Constant, Implemented
214    ENXIO, Constant, Implemented
215    EPERM, Constant, Implemented
216    EPIPE, Constant, Implemented
217    ERANGE, Constant, Implemented
218    EROFS, Constant, Implemented
219    ESPIPE, Constant, Implemented
220    ESRCH, Constant, Implemented
221    ETIMEDOUT, Constant, Implemented
222    EXDEV, Constant, Implemented
223
224Primitive System Types
225======================
226
227.. code:: c
228
229    dev_t, Type, Implemented
230    gid_t, Type, Implemented
231    ino_t, Type, Implemented
232    mode_t, Type, Implemented
233    nlink_t, Type, Implemented
234    off_t, Type, Implemented
235    pid_t, Type, Implemented
236    pthread_t, Type, Implemented
237    pthread_attr_t, Type, Implemented
238    pthread_mutex_t, Type, Implemented
239    pthread_mutex_attr_t, Type, Implemented
240    pthread_cond_t, Type, Implemented
241    pthread_cond_attr_t, Type, Implemented
242    pthread_key_t, Type, Implemented
243    pthread_once_t, Type, Implemented
244    size_t, Type, Implemented
245    ssize_t, Type, Implemented
246    time_t, Type, Implemented
247    uid_t, Type, Implemented
248
249NOTE: time_t is not listed in this section but is used by many functions.
250
251Environment Description
252=======================
253
254C Language Definitions
255======================
256
257Symbols From the C Standard
258---------------------------
259
260.. code:: c
261
262    NULL, Constant, Implemented
263
264POSIX.1 Symbols
265---------------
266
267.. code:: c
268
269    _POSIX_C_SOURCE, Feature Flag,
270
271Numerical Limits
272================
273
274C Language Limits
275=================
276
277.. code:: c
278
279    CHAR_BIT, Constant, Implemented
280    CHAR_MAX, Constant, Implemented
281    CHAR_MIN, Constant, Implemented
282    INT_MAX, Constant, Implemented
283    INT_MIN, Constant, Implemented
284    LONG_MAX, Constant, Implemented
285    LONG_MIN, Constant, Implemented
286    MB_LEN_MAX, Constant, Implemented
287    SCHAR_MAX, Constant, Implemented
288    SCHAR_MIN, Constant, Implemented
289    SHRT_MAX, Constant, Implemented
290    SHRT_MIN, Constant, Implemented
291    UCHAR_MAX, Constant, Implemented
292    UINT_MAX, Constant, Implemented
293    ULONG_MAX, Constant, Implemented
294    USHRT_MAX, Constant, Implemented
295
296NOTE: These are implemented in GCC’s limits.h file.
297
298Minimum Values
299--------------
300
301.. code:: c
302
303    _POSIX_AIO_LISTIO_MAX, Constant, Implemented
304    _POSIX_AIO_MAX, Constant, Implemented
305    _POSIX_ARG_MAX, Constant, Implemented
306    _POSIX_CHILD_MAX, Constant, Implemented
307    _POSIX_DELAYTIMER_MAX, Constant, Implemented
308    _POSIX_LINK_MAX, Constant, Implemented
309    _POSIX_LOGIN_NAME_MAX, Constant, Implemented
310    _POSIX_MAX_CANON, Constant, Implemented
311    _POSIX_MAX_INPUT, Constant, Implemented
312    _POSIX_MQ_OPEN_MAX, Constant, Implemented
313    _POSIX_MQ_PRIO_MAX, Constant, Implemented
314    _POSIX_NAME_MAX, Constant, Implemented
315    _POSIX_NGROUPS_MAX, Constant, Implemented
316    _POSIX_OPEN_MAX, Constant, Implemented
317    _POSIX_PATH_MAX, Constant, Implemented
318    _POSIX_PIPE_BUF, Constant, Implemented
319    _POSIX_RTSIG_MAX, Constant, Implemented
320    _POSIX_SEM_NSEMS_MAX, Constant, Implemented
321    _POSIX_SEM_VALUE_MAX, Constant, Implemented
322    _POSIX_SIGQUEUE_MAX, Constant, Implemented
323    _POSIX_SSIZE_MAX, Constant, Implemented
324    _POSIX_STREAM_MAX, Constant, Implemented
325    _POSIX_THREAD_DESTRUCTOR_ITERATIONS, Constant, Implemented
326    _POSIX_THREAD_KEYS_MAX, Constant, Implemented
327    _POSIX_THREAD_THREADS_MAX, Constant, Implemented
328    _POSIX_TTY_NAME_MAX, Constant, Implemented
329    _POSIX_TIME_MAX, Constant, Unimplemented
330    _POSIX_TZNAME_MAX, Constant, Implemented
331
332Run-Time Increasable Values
333---------------------------
334
335.. code:: c
336
337    _POSIX_NGROUPS_MAX, Constant, Implemented
338
339Run-Time Invariant Values (Possible Indeterminate)
340--------------------------------------------------
341
342.. code:: c
343
344    AIO_LISTIO_MAX, Constant, Implemented
345    AIO_MAX, Constant, Implemented
346    AIO_PRIO_DELTA_MAX, Constant, Implemented
347    ARG_MAX, Constant, Implemented
348    CHILD_MAX, Constant, Implemented
349    DELAYTIMER_MAX, Constant, Implemented
350    LOGIN_NAME_MAX, Constant, Implemented
351    MQ_OPEN_MAX, Constant, Implemented
352    OPEN_MAX, Constant, Implemented
353    PAGESIZE, Constant, Implemented
354    PTHREAD_DESTRUCTOR_ITERATIONS, Constant, Implemented
355    PTHREAD_KEYS_MAX, Constant, Implemented
356    PTHREAD_STACK_MIN, Constant, Implemented
357    PTHJREAD_THREADS_MAX, Constant, Implemented
358    RTSIG_MAX, Constant, Implemented
359    SEM_NSEMS_MAX, Constant, Implemented
360    SEM_VALUE_MAX, Constant, Implemented
361    SIGQUEUE_MAX, Constant, Implemented
362    STREAM_MAX, Constant, Implemented
363    TIMER_MAX, Constant, Implemented
364    TTY_NAME_MAX, Constant, Implemented
365    TZNAME_MAX, Constant, Implemented
366
367Pathname Variable Values
368------------------------
369
370.. code:: c
371
372    LINK_MAX, Constant, Implemented
373    MAX_CANON, Constant, Implemented
374    MAX_INPUT, Constant, Implemented
375    NAME_MAX, Constant, Implemented
376    PATH_MAX, Constant, Implemented
377    PIPE_BUF, Constant, Implemented
378
379Invariant Values
380----------------
381
382.. code:: c
383
384    SSIZE_MAX, Constant, Implemented
385
386Maximum Values
387--------------
388
389.. code:: c
390
391    _POSIX_CLOCKRES_MIN, Constant, Implemented
392
393Symbolic Constants
394==================
395
396Symbolic Constants for the access Function
397------------------------------------------
398
399.. code:: c
400
401    R_OK, Constant, Implemented
402    W_OK, Constant, Implemented
403    X_OK, Constant, Implemented
404    F_OK, Constant, Implemented
405
406Symbolic Constants for the lseek Function
407-----------------------------------------
408
409.. code:: c
410
411    SEEK_SET, Constant, Implemented
412    SEEK_CUR, Constant, Implemented
413    SEEK_END, Constant, Implemented
414
415Compile-Time Symbolic Constants for Portability Specifications
416--------------------------------------------------------------
417
418.. code:: c
419
420    _POSIX_ASYNCHRONOUS_IO, Feature Flag,
421    _POSIX_FSYNC, Feature Flag,
422    _POSIX_JOB_CONTROL, Feature Flag,
423    _POSIX_MAPPED_FILES, Feature Flag,
424    _POSIX_MEMLOCK, Feature Flag,
425    _POSIX_MEMLOCK_RANGE, Feature Flag,
426    _POSIX_MEMORY_PROTECTION, Feature Flag,
427    _POSIX_MESSAGE_PASSING, Feature Flag,
428    _POSIX_PRIORITIZED_IO, Feature Flag,
429    _POSIX_PRIORITY_SCHEDULING, Feature Flag,
430    _POSIX_REALTIME_SIGNALS, Feature Flag,
431    _POSIX_SAVED_IDS, Feature Flag,
432    _POSIX_SEMAPHORES, Feature Flag,
433    _POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
434    _POSIX_SYNCHRONIZED_IO, Feature Flag,
435    _POSIX_THREADS, Feature Flag,
436    _POSIX_THREAD_ATTR_STACKADDR, Feature Flag,
437    _POSIX_THREAD_ATTR_STACKSIZE, Feature Flag,
438    _POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
439    _POSIX_THREAD_PRIO_INHERIT, Feature Flag,
440    _POSIX_THREAD_PRIO_CEILING, Feature Flag,
441    _POSIX_THREAD_PROCESS_SHARED, Feature Flag,
442    _POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
443    _POSIX_TIMERS, Feature Flag,
444    _POSIX_VERSION, Feature Flag,
445
446Execution-Time Symbolic Constants for Portability Specifications
447----------------------------------------------------------------
448
449.. code:: c
450
451    _POSIX_ASYNC_IO, Feature Flag,
452    _POSIX_CHOWN_RESTRICTED, Feature Flag,
453    _POSIX_NO_TRUNC, Feature Flag,
454    _POSIX_PRIO_IO, Feature Flag,
455    _POSIX_SYNC_IO, Feature Flag,
456    _POSIX_VDISABLE, Feature Flag,
457
458.. COMMENT: COPYRIGHT (c) 1988-2002.
459
460.. COMMENT: On-Line Applications Research Corporation (OAR).
461
462.. COMMENT: All rights reserved.
463
464Process Primitives
465##################
466
467Process Creation and Execution
468==============================
469
470Process Creation
471----------------
472
473.. code:: c
474
475    fork(), Function, Unimplementable, Requires Processes
476
477Execute a File
478--------------
479
480.. code:: c
481
482    execl(), Function, Unimplementable, Requires Processes
483    execv(), Function, Unimplementable, Requires Processes
484    execle(), Function, Unimplementable, Requires Processes
485    execve(), Function, Unimplementable, Requires Processes
486    execlp(), Function, Unimplementable, Requires Processes
487    execvp(), Function, Unimplementable, Requires Processes
488
489Register Fork Handlers
490----------------------
491
492.. code:: c
493
494    pthread_atfork(), Function, Unimplementable, Requires Processes
495
496Process Termination
497===================
498
499Wait for Process Termination
500----------------------------
501
502.. code:: c
503
504    wait(), Function, Unimplementable, Requires Processes
505    waitpid(), Function, Unimplementable, Requires Processes
506    WNOHANG, Constant, Unimplementable, Requires Processes
507    WUNTRACED, Constant, Unimplementable, Requires Processes
508    WIFEXITED(), Function, Unimplementable, Requires Processes
509    WEXITSTATUS(), Function, Unimplementable, Requires Processes
510    WIFSIGNALED(), Function, Unimplementable, Requires Processes
511    WTERMSIG(), Function, Unimplementable, Requires Processes
512    WIFSTOPPED(), Function, Unimplementable, Requires Processes
513    WSTOPSIG(), Function, Unimplementable, Requires Processes
514
515Terminate a Process
516-------------------
517
518.. code:: c
519
520    _exit(), Function, Implemented
521
522Signals
523=======
524
525Signal Concepts
526---------------
527
528Signal Names
529~~~~~~~~~~~~
530
531.. code:: c
532
533    sigset_t, Type, Implemented
534    SIG_DFL, Constant, Implemented
535    SIG_IGN, Constant, Implemented
536    SIG_ERR, Constant, Implemented
537    SIGABRT, Constant, Implemented
538    SIGALRM, Constant, Implemented
539    SIGFPE, Constant, Implemented
540    SIGHUP, Constant, Implemented
541    SIGILL, Constant, Implemented
542    SIGINT, Constant, Implemented
543    SIGKILL, Constant, Implemented
544    SIGPIPE, Constant, Implemented
545    SIGQUIT, Constant, Implemented
546    SIGSEGV, Constant, Implemented
547    SIGTERM, Constant, Implemented
548    SIGUSR1, Constant, Implemented
549    SIGUSR2, Constant, Implemented
550    SIGCHLD, Constant, Unimplemented
551    SIGCONT, Constant, Unimplemented
552    SIGSTOP, Constant, Unimplemented
553    SIGTSTP, Constant, Unimplemented
554    SIGTTIN, Constant, Unimplemented
555    SIGTTOU, Constant, Unimplemented
556    SIGBUS, Constant, Implemented
557    SIGRTMIN, Constant, Implemented
558    SIGRTMAX, Constant, Implemented
559
560NOTE: SIG_ERR is technically an extension to the C Library which is
561not documented anywhere else according to the index.
562
563Signal Generation and Delivery
564~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
565
566.. code:: c
567
568    struct sigevent, Type, Implemented
569    union sigval, Type, Implemented
570    SIGEV_NONE, Constant, Implemented
571    SIGEV_SIGNAL, Constant, Implemented
572    SIGEV_THREAD, Constant, Implemented
573
574Signal Actions
575~~~~~~~~~~~~~~
576
577.. code:: c
578
579    siginfo_t, Type, Implemented
580    SI_USER, Constant, Implemented
581    SI_QUEUE, Constant, Implemented
582    SI_TIMER, Constant, Implemented
583    SI_ASYNCIO, Constant, Implemented
584    SI_MESGQ, Constant, Implemented
585
586Send a Signal to a Process
587--------------------------
588
589.. code:: c
590
591    kill(), Function, Implemented
592
593Manipulate Signal Sets
594----------------------
595
596.. code:: c
597
598    sigemptyset(), Function, Implemented
599    sigfillset(), Function, Implemented
600    sigaddset(), Function, Implemented
601    sigdelset(), Function, Implemented
602    sigismember(), Function, Implemented
603
604Examine and Change Signal Action
605--------------------------------
606
607.. code:: c
608
609    sigaction(), Function, Implemented
610    sigaction, Type, Implemented
611    SA_NOCLDSTOP, Constant, Implemented
612    SA_SIGINFO, Constant, Implemented
613
614Examine and Change Blocked Signals
615----------------------------------
616
617.. code:: c
618
619    pthread_sigmask(), Function, Implemented
620    sigprocmask(), Function, Implemented
621    SIG_BLOCK, Constant, Implemented
622    SIG_UNBLOCK, Constant, Implemented
623    SIG_SETMASK, Constant, Implemented
624
625Examine Pending Signals
626-----------------------
627
628.. code:: c
629
630    sigpending(), Function, Implemented
631
632Wait for a Signal
633-----------------
634
635.. code:: c
636
637    sigsuspend(), Function, Implemented
638
639Synchronously Accept a Signal
640-----------------------------
641
642.. code:: c
643
644    sigwait(), Function, Implemented
645    sigwaitinfo(), Function, Implemented
646    sigtimedwait(), Function, Implemented
647
648Queue a Signal to a Process
649---------------------------
650
651.. code:: c
652
653    sigqueue(), Function, Implemented
654
655Send a Signal to a Thread
656-------------------------
657
658.. code:: c
659
660    pthread_kill(), Function, Implemented
661
662Timer Operations
663================
664
665Schedule Alarm
666--------------
667
668.. code:: c
669
670    alarm(), Function, Implemented
671
672Suspend Process Execution
673-------------------------
674
675.. code:: c
676
677    pause(), Function, Implemented
678
679Delay Process Execution
680-----------------------
681
682.. code:: c
683
684    sleep(), Function, Implemented
685
686.. COMMENT: COPYRIGHT (c) 1988-2002.
687
688.. COMMENT: On-Line Applications Research Corporation (OAR).
689
690.. COMMENT: All rights reserved.
691
692Process Environment
693###################
694
695Process Identification
696======================
697
698Get Process and Parent Process IDs
699----------------------------------
700
701.. code:: c
702
703    getpid(), Function, Implemented, SUSP Functionality
704    getppid(), Function, Implemented, SUSP Functionality
705
706User Identification
707===================
708
709Get Real User Effective User Real Group and Effective Group IDs
710---------------------------------------------------------------
711
712.. code:: c
713
714    getuid(), Function, Implemented, SUSP Functionality
715    geteuid(), Function, Implemented, SUSP Functionality
716    getgid(), Function, Implemented, SUSP Functionality
717    getegid(), Function, Implemented, SUSP Functionality
718
719Set User and Group IDs
720----------------------
721
722.. code:: c
723
724    setuid(), Function, Implemented, SUSP Functionality
725    setgid(), Function, Implemented, SUSP Functionality
726
727Get Supplementary Group IDs
728---------------------------
729
730.. code:: c
731
732    getgroups(), Function, Implemented, SUSP Functionality
733
734Get User Name
735-------------
736
737.. code:: c
738
739    getlogin(), Function, Implemented, SUSP Functionality
740    getlogin_r(), Function, Implemented, SUSP Functionality
741
742Process Groups
743==============
744
745Get Process Group ID
746--------------------
747
748.. code:: c
749
750    getpgrp(), Function, Implemented, SUSP Functionality
751
752Create Session and Set Process Group ID
753---------------------------------------
754
755.. code:: c
756
757    setsid(), Function, Implemented, SUSP Functionality
758
759Set Process Group ID for Job Control
760------------------------------------
761
762.. code:: c
763
764    setpgid(), Function, Dummy Implementation
765
766System Identification
767=====================
768
769Get System Name
770---------------
771
772.. code:: c
773
774    struct utsname, Type, Implemented
775    uname(), Function, Implemented
776
777Time
778====
779
780.. _Get-System-Time:
781
782Get System Time
783---------------
784
785.. code:: c
786
787    time(), Function, Implemented
788
789Get Process Times
790-----------------
791
792.. code:: c
793
794    struct tms, Type, Implemented
795    times(), Function, Implemented
796
797NOTE: ``times`` always returns 0 for tms_stime, tms_cutime, and
798tms_cstime fields of the ``struct tms`` returned.
799
800Environment Variables
801=====================
802
803.. _Environment-Access:
804
805Environment Access
806------------------
807
808.. code:: c
809
810    getenv(), Function, Implemented
811
812Terminal Identification
813=======================
814
815Generate Terminal Pathname
816--------------------------
817
818.. code:: c
819
820    ctermid(), Function, Implemented
821
822Determine Terminal Device Name
823------------------------------
824
825.. code:: c
826
827    ttyname(), Function, Implemented, untested
828    ttyname_r(), Function, Implemented, untested
829    isatty(), Function, Implemented
830
831Configurable System Variables
832=============================
833
834Get Configurable System Variables
835---------------------------------
836
837.. code:: c
838
839    sysconf(), Function, Dummy Implementation
840    _SC_AIO_LISTIO_MAX, Constant, Implemented
841    _SC_AIO_MAX, Constant, Implemented
842    _SC_AIO_PRIO_DELTA_MAX, Constant, Implemented
843    _SC_ARG_MAX, Constant, Implemented
844    _SC_CHILD_MAX, Constant, Implemented
845    _SC_CLK_TCK, Constant, Implemented
846    CLK_TCK, Constant, Implemented
847    _SC_DELAYTIMER_MAX, Constant, Implemented
848    _SC_GETGR_R_SIZE_MAX, Constant, Implemented
849    _SC_GETPW_R_SIZE_MAX, Constant, Implemented
850    _SC_LOGIN_NAME_MAX, Constant, Implemented
851    _SC_MQ_OPEN_MAX, Constant, Implemented
852    _SC_MQ_PRIO_MAX, Constant, Implemented
853    _SC_NGROUPS_MAX, Constant, Implemented
854    _SC_OPEN_MAX, Constant, Implemented
855    _SC_PAGESIZE, Constant, Implemented
856    _SC_RTSIG_MAX, Constant, Implemented
857    _SC_SEM_NSEMS_MAX, Constant, Implemented
858    _SC_SEM_VALUE_MAX, Constant, Implemented
859    _SC_SIGQUEUE_MAX, Constant, Implemented
860    _SC_STREAM_MAX, Constant, Implemented
861    _SC_THREAD_DESTRUCTOR_ITERATIONS, Constant, Implemented
862    _SC_THREAD_KEYS_MAX, Constant, Implemented
863    _SC_THREAD_STACK_MIN, Constant, Implemented
864    _SC_THREAD_THREADS_MAX, Constant, Implemented
865    _SC_TIMER_MAX, Constant, Implemented
866    _SC_TTY_NAME_MAX, Constant, Implemented
867    _SC_TZNAME_MAX, Constant, Implemented
868    _SC_ASYNCHRONOUS_IO, Constant, Implemented
869    _SC_FSYNC, Constant, Implemented
870    _SC_JOB_CONROL, Constant, Implemented
871    _SC_MAPPED_FILES, Constant, Implemented
872    _SC_MEMLOCK, Constant, Implemented
873    _SC_MEMLOCK_RANGE, Constant, Implemented
874    _SC_MEMORY_PROTECTION, Constant, Implemented
875    _SC_MESSAGE_PASSING, Constant, Implemented
876    _SC_PRIORITIZED_IO, Constant, Implemented
877    _SC_PRIORITY_SCHEDULING, Constant, Unimplemented
878    _SC_REALTIME_SIGNALS, Constant, Implemented
879    _SC_SAVED_IDS, Constant, Implemented
880    _SC_SEMAPHORES, Constant, Implemented
881    _SC_SHARED_MEMORY_OBJECTS, Constant, Implemented
882    _SC_SYNCHRONIZED_IO, Constant, Implemented
883    _SC_TIMERS, Constant, Implemented
884    _SC_THREADS, Constant, Implemented
885    _SC_THREAD_ATTR_STACKADDR, Constant, Implemented
886    _SC_THREAD_ATTR_STACKSIZE, Constant, Implemented
887    _SC_THREAD_PRIORITY_SCHEDULING, Constant, Implemented
888    _SC_THREAD_PRIO_INHERIT, Constant, Implemented
889    _SC_THREAD_PRIO_PROTECT, Constant, Unimplemented
890    _SC_THREAD_PROCESS_SHARED, Constant, Implemented
891    _SC_THREAD_SAFE_FUNCTIONS, Constant, Implemented
892    _SC_VERSION, Constant, Implemented
893
894.. COMMENT: COPYRIGHT (c) 1988-2002.
895
896.. COMMENT: On-Line Applications Research Corporation (OAR).
897
898.. COMMENT: All rights reserved.
899
900Files and Directories
901#####################
902
903Directories
904===========
905
906Format of Directory Entries
907---------------------------
908
909Directory Operations
910--------------------
911
912.. code:: c
913
914    struct dirent, Type, Implemented
915    opendir(), Function, Implemented
916    readdir(), Function, Implemented
917    readdir_r(), Function, Implemented
918    rewinddir(), Function, Implemented
919    closedir(), Function, Implemented
920
921Working Directory
922=================
923
924Change Current Working Directory
925--------------------------------
926
927.. code:: c
928
929    chdir(), Function, Implemented
930
931Get Working Directory Pathname
932------------------------------
933
934.. code:: c
935
936    getcwd(), Function, Implemented
937
938General File Creation
939=====================
940
941.. _Open-a-File:
942
943Open a File
944-----------
945
946.. code:: c
947
948    open(), Function, Implemented
949    O_RDONLY, Constant, Implemented
950    O_WRONLY, Constant, Implemented
951    O_RDWR, Constant, Implemented
952    O_APPEND, Constant, Implemented
953    O_CREAT, Constant, Implemented
954    O_DSYNC, Constant, Unimplemented
955    O_EXCL, Constant, Implemented
956    O_NOCTTY, Constant, Implemented
957    O_NONBLOCK, Constant, Implemented
958    O_RSYNC, Constant, Unimplemented
959    O_SYNC, Constant, Implemented
960    O_TRUNC, Constant, Implemented
961
962NOTE: In the newlib fcntl.h, O_SYNC is defined only if _POSIX_SOURCE is
963not defined.  This seems wrong.
964
965Create a New File or Rewrite an Existing One
966--------------------------------------------
967
968.. code:: c
969
970    creat(), Function, Implemented
971
972Set File Creation Mask
973----------------------
974
975.. code:: c
976
977    umask(), Function, Implemented
978
979Link to a File
980--------------
981
982.. code:: c
983
984    link(), Function, Implemented
985
986Special File Creation
987=====================
988
989Make a Directory
990----------------
991
992.. code:: c
993
994    mkdir(), Function, Implemented
995
996Make a FIFO Special File
997------------------------
998
999.. code:: c
1000
1001    mkfifo(), Function, Untested Implementation
1002
1003NOTE: mkfifo() is implemented but no filesystem supports FIFOs.
1004
1005File Removal
1006============
1007
1008Remove Directory Entries
1009------------------------
1010
1011.. code:: c
1012
1013    unlink(), Function, Implemented
1014
1015Remove a Directory
1016------------------
1017
1018.. code:: c
1019
1020    rmdir(), Function, Implemented
1021
1022.. _Rename-a-File:
1023
1024Rename a File
1025-------------
1026
1027.. code:: c
1028
1029    rename(), Function, Partial Implementation
1030
1031File Characteristics
1032====================
1033
1034File Characteristics Header and Data Structure
1035----------------------------------------------
1036
1037.. code:: c
1038
1039    struct stat, Type, Implemented
1040
1041<sys/stat.h> File Types
1042~~~~~~~~~~~~~~~~~~~~~~~
1043
1044.. code:: c
1045
1046    S_ISBLK(), Function, Implemented
1047    S_ISCHR(), Function, Implemented
1048    S_ISDIR(), Function, Implemented
1049    S_ISFIFO(), Function, Implemented
1050    S_ISREG(), Function, Implemented
1051    S_TYPEISMQ(), Function, Unimplemented
1052    S_TYPEISSEM(), Function, Unimplemented
1053    S_TYPEISSHM(), Function, Unimplemented
1054
1055<sys/stat.h> File Modes
1056~~~~~~~~~~~~~~~~~~~~~~~
1057
1058.. code:: c
1059
1060    S_IRWXU, Constant, Implemented
1061    S_IRUSR, Constant, Implemented
1062    S_IWUSR, Constant, Implemented
1063    S_IXUSR, Constant, Implemented
1064    S_IRWXG, Constant, Implemented
1065    S_IRGRP, Constant, Implemented
1066    S_IWGRP, Constant, Implemented
1067    S_IXGRP, Constant, Implemented
1068    S_IRWXO, Constant, Implemented
1069    S_IROTH, Constant, Implemented
1070    S_IWOTH, Constant, Implemented
1071    S_IXOTH, Constant, Implemented
1072    S_ISUID, Constant, Implemented
1073    S_ISGID, Constant, Implemented
1074
1075<sys/stat.h> Time Entries
1076~~~~~~~~~~~~~~~~~~~~~~~~~
1077
1078Get File Status
1079---------------
1080
1081.. code:: c
1082
1083    stat(), Function, Implemented
1084    fstat(), Function, Implemented
1085
1086Check File Accessibility
1087------------------------
1088
1089.. code:: c
1090
1091    access(), Function, Implemented
1092
1093Change File Modes
1094-----------------
1095
1096.. code:: c
1097
1098    chmod(), Function, Implemented
1099    fchmod(), Function, Implemented
1100
1101Change Owner and Group of a File
1102--------------------------------
1103
1104.. code:: c
1105
1106    chown(), Function, Implemented
1107
1108Set File Access and Modification Times
1109--------------------------------------
1110
1111.. code:: c
1112
1113    struct utimbuf, Type, Implemented
1114    utime(), Function, Implemented
1115
1116Truncate a File to a Specified Length
1117-------------------------------------
1118
1119.. code:: c
1120
1121    ftruncate(), Function, Implemented
1122
1123Configurable Pathname Variable
1124==============================
1125
1126Get Configurable Pathname Variables
1127-----------------------------------
1128
1129.. code:: c
1130
1131    pathconf(), Function, Implemented
1132    fpathconf(), Function, Implemented
1133    _PC_LINK_MAX, Constant, Implemented
1134    _PC_MAX_CANON, Constant, Implemented
1135    _PC_MAX_INPUT, Constant, Implemented
1136    _PC_MAX_INPUT, Constant, Implemented
1137    _PC_NAME_MAX, Constant, Implemented
1138    _PC_PATH_MAX, Constant, Implemented
1139    _PC_PIPE_BUF, Constant, Implemented
1140    _PC_ASYNC_IO, Constant, Implemented
1141    _PC_CHOWN_RESTRICTED, Constant, Implemented
1142    _PC_NO_TRUNC, Constant, Implemented
1143    _PC_PRIO_IO, Constant, Implemented
1144    _PC_SYNC_IO, Constant, Implemented
1145    _PC_VDISABLE, Constant, Implemented
1146
1147NOTE: The newlib unistd.h and sys/unistd.h are installed and the
1148include search patch is used to get the right one.  There are
1149conflicts between the newlib unistd.h and RTEMS’ version.
1150
1151.. COMMENT: COPYRIGHT (c) 1988-2002.
1152
1153.. COMMENT: On-Line Applications Research Corporation (OAR).
1154
1155.. COMMENT: All rights reserved.
1156
1157Input and Output Primitives
1158###########################
1159
1160Pipes
1161=====
1162
1163Create an Inter-Process Channel
1164-------------------------------
1165
1166.. code:: c
1167
1168    pipe(), Function, Dummy Implementation
1169
1170NOTE: pipe() returns ENOSYS.
1171
1172File Descriptor Manipulation
1173============================
1174
1175Duplicate an Open File Descriptor
1176---------------------------------
1177
1178.. code:: c
1179
1180    dup(), Function, Implemented
1181    dup2(), Function, Implemented
1182
1183File Descriptor Deassignment
1184============================
1185
1186Close a File
1187------------
1188
1189.. code:: c
1190
1191    close(), Function, Implemented
1192
1193Input and Output
1194================
1195
1196Read from a File
1197----------------
1198
1199.. code:: c
1200
1201    read(), Function, Implemented
1202
1203Write to a File
1204---------------
1205
1206.. code:: c
1207
1208    write(), Function, Implemented
1209
1210Control Operations on Files
1211===========================
1212
1213Data Definitions for File Control Operations
1214--------------------------------------------
1215
1216File Control
1217------------
1218
1219.. code:: c
1220
1221    struct flock, Type, Implemented
1222    fcntl(), Function, Implemented
1223    F_DUPFD, Constant, Implemented
1224    F_GETFD, Constant, Implemented
1225    F_GETLK, Constant, Implemented
1226    F_SETFD, Constant, Implemented
1227    F_GETFL, Constant, Implemented
1228    F_SETFL, Constant, Implemented
1229    F_SETLK, Constant, Implemented
1230    F_SETLKW, Constant, Implemented
1231    FD_CLOEXEC, Constant, Implemented
1232    F_RDLCK, Constant, Implemented
1233    F_UNLCK, Constant, Implemented
1234    F_WRLCK, Constant, Implemented
1235    O_ACCMODE, Constant, Implemented
1236
1237NOTE: A number of constants are used by both ``open`` and ``fcntl``.``O_CREAT``, ``O_EXCL``, ``O_NOCTTY``, ``O_TRUNC``,``O_APPEND``, ``O_DSYNC``, ``O_NONBLOCK``, ``O_RSYNC``,``O_SYNC``, ``O_RDONLY``, ``O_RDWR``, and ``O_WRONLY``
1238are also included in another section.  See :ref:`Open a File <Open-a-File>`.
1239
1240Reposition Read/Write File Offset
1241---------------------------------
1242
1243.. code:: c
1244
1245    lseek(), Function, Implemented
1246    SEEK_SET, Constant, Implemented
1247    SEEK_CUR, Constant, Implemented
1248    SEEK_END, Constant, Implemented
1249
1250File Synchronization
1251====================
1252
1253Synchronize the State of a File
1254-------------------------------
1255
1256.. code:: c
1257
1258    fsync(), Function, Implemented
1259
1260Synchronize the Data of a File
1261------------------------------
1262
1263.. code:: c
1264
1265    fdatasync(), Function, Implemented
1266
1267Asynchronous Input and Output
1268=============================
1269
1270Data Definitions for Asynchronous Input and Output
1271--------------------------------------------------
1272
1273Asynchronous I/O Control Block
1274~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1275
1276.. code:: c
1277
1278    struct aiocb, Type, Untested Implementation
1279
1280Asynchronous I/O Manifest Constants
1281~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1282
1283.. code:: c
1284
1285    AIO_CANCELED, Constant, Implemented
1286    AIO_NOTCANCELED, Constant, Implemented
1287    AIO_ALLDONE, Constant, Implemented
1288    LIO_WAIT, Constant, Implemented
1289    LIO_NOWAIT, Constant, Implemented
1290    LIO_READ, Constant, Implemented
1291    LIO_WRITE, Constant, Implemented
1292    LIO_NOP, Constant, Implemented
1293
1294Asynchronous Read
1295-----------------
1296
1297.. code:: c
1298
1299    aio_read(), Function, Dummy Implementation
1300
1301Asynchronous Write
1302------------------
1303
1304.. code:: c
1305
1306    aio_write(), Function, Dummy Implementation
1307
1308List Directed I/O
1309-----------------
1310
1311.. code:: c
1312
1313    lio_listio(), Function, Dummy Implementation
1314
1315Retrieve Error Status of Asynchronous I/O Operation
1316---------------------------------------------------
1317
1318.. code:: c
1319
1320    aio_error(), Function, Dummy Implementation
1321
1322Retrieve Return Status of Asynchronous I/O Operation
1323----------------------------------------------------
1324
1325.. code:: c
1326
1327    aio_return(), Function, Dummy Implementation
1328
1329Cancel Asynchronous I/O Request
1330-------------------------------
1331
1332.. code:: c
1333
1334    aio_cancel(), Function, Dummy Implementation
1335
1336Wait for Asynchronous I/O Request
1337---------------------------------
1338
1339.. code:: c
1340
1341    aio_suspend(), Function, Dummy Implementation
1342
1343Asynchronous File Synchronization
1344---------------------------------
1345
1346.. code:: c
1347
1348    aio_fsync(), Function, Dummy Implementation
1349
1350.. COMMENT: COPYRIGHT (c) 1988-2002.
1351
1352.. COMMENT: On-Line Applications Research Corporation (OAR).
1353
1354.. COMMENT: All rights reserved.
1355
1356Device- and Class-Specific Functions
1357####################################
1358
1359General Terminal Interface
1360==========================
1361
1362Interface Characteristics
1363-------------------------
1364
1365Opening a Terminal Device File
1366~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1367
1368Process Groups (TTY)
1369~~~~~~~~~~~~~~~~~~~~
1370
1371The Controlling Terminal
1372~~~~~~~~~~~~~~~~~~~~~~~~
1373
1374Terminal Access Control
1375~~~~~~~~~~~~~~~~~~~~~~~
1376
1377Input Processing and Reading Data
1378~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1379
1380Canonical Mode Input Processing
1381~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1382
1383Noncanonical Mode Input Processing
1384~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1385
1386- Case A - MIN > 0 and TIME > 0
1387
1388- Case B - MIN > 0 and TIME = 0
1389
1390- Case C - MIN = 0 and TIME > 0
1391
1392- Case D - MIN = 0 and TIME = 0
1393
1394Writing Data and Output Processing
1395~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1396
1397Special Characters
1398~~~~~~~~~~~~~~~~~~
1399
1400.. code:: c
1401
1402    INTR, Constant, Implemented
1403    QUIT, Constant, Implemented
1404    ERASE, Constant, Implemented
1405    KILL, Constant, Implemented
1406    EOF, Constant, Implemented
1407    NL, Constant, Implemented
1408    EOL, Constant, Implemented
1409    SUSP, Constant, Implemented
1410    STOP, Constant, Implemented
1411    START, Constant, Implemented
1412    CR, Constant, Implemented
1413
1414Modem Disconnect
1415~~~~~~~~~~~~~~~~
1416
1417Closing a Terminal Device File
1418~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1419
1420Parameters That Can Be Set
1421--------------------------
1422
1423termios Structure
1424~~~~~~~~~~~~~~~~~
1425
1426.. code:: c
1427
1428    tcflag_t, Type, Implemented
1429    cc_t, Type, Implemented
1430    struct termios, Type, Implemented
1431
1432Input Modes
1433~~~~~~~~~~~
1434
1435.. code:: c
1436
1437    BRKINT, Constant, Implemented
1438    ICRNL, Constant, Implemented
1439    IGNBREAK, Constant, Unimplemented
1440    IGNCR, Constant, Implemented
1441    IGNPAR, Constant, Implemented
1442    INLCR, Constant, Implemented
1443    INPCK, Constant, Implemented
1444    ISTRIP, Constant, Implemented
1445    IXOFF, Constant, Implemented
1446    IXON, Constant, Implemented
1447    PARMRK, Constant, Implemented
1448
1449Output Modes
1450~~~~~~~~~~~~
1451
1452.. code:: c
1453
1454    OPOST, Constant, Implemented
1455
1456Control Modes
1457~~~~~~~~~~~~~
1458
1459.. code:: c
1460
1461    CLOCAL, Constant, Implemented
1462    CREAD, Constant, Implemented
1463    CSIZE, Constant, Implemented
1464    CS5, Constant, Implemented
1465    CS6, Constant, Implemented
1466    CS7, Constant, Implemented
1467    CS8, Constant, Implemented
1468    CSTOPB, Constant, Implemented
1469    HUPCL, Constant, Implemented
1470    PARENB, Constant, Implemented
1471    PARODD, Constant, Implemented
1472
1473Local Modes
1474~~~~~~~~~~~
1475
1476.. code:: c
1477
1478    ECHO, Constant, Implemented
1479    ECHOE, Constant, Implemented
1480    ECHOK, Constant, Implemented
1481    ECHONL, Constant, Implemented
1482    ICANON, Constant, Implemented
1483    IEXTEN, Constant, Implemented
1484    ISIG, Constant, Implemented
1485    NOFLSH, Constant, Implemented
1486    TOSTOP, Constant, Implemented
1487
1488Special Control Characters
1489~~~~~~~~~~~~~~~~~~~~~~~~~~
1490
1491.. code:: c
1492
1493    VEOF, Constant, Implemented
1494    VEOL, Constant, Implemented
1495    VERASE, Constant, Implemented
1496    VINTR, Constant, Implemented
1497    VKILL, Constant, Implemented
1498    VQUIT, Constant, Implemented
1499    VSUSP, Constant, Implemented
1500    VSTART, Constant, Implemented
1501    VSTOP, Constant, Implemented
1502    VMIN, Constant, Implemented
1503    VTIME, Constant, Implemented
1504
1505Baud Rate Values
1506----------------
1507
1508.. code:: c
1509
1510    B0, Constant, Implemented
1511    B50, Constant, Implemented
1512    B75, Constant, Implemented
1513    B110, Constant, Implemented
1514    B134, Constant, Implemented
1515    B150, Constant, Implemented
1516    B200, Constant, Implemented
1517    B300, Constant, Implemented
1518    B600, Constant, Implemented
1519    B1200, Constant, Implemented
1520    B1800, Constant, Implemented
1521    B2400, Constant, Implemented
1522    B4800, Constant, Implemented
1523    B9600, Constant, Implemented
1524    B19200, Constant, Implemented
1525    B38400, Constant, Implemented
1526
1527Baud Rate Functions
1528~~~~~~~~~~~~~~~~~~~
1529
1530.. code:: c
1531
1532    cfgetospeed(), Function, Implemented
1533    cfsetospeed(), Function, Implemented
1534    cfgetispeed(), Function, Implemented
1535    cfsetispeed(), Function, Implemented
1536    TCIFLUSH, Constant, Implemented
1537    TCOFLUSH, Constant, Implemented
1538    TCIOFLUSH, Constant, Implemented
1539    TCOOFF, Constant, Implemented
1540    TCOON, Constant, Implemented
1541    TCIOOFF, Constant, Implemented
1542    TCIOON, Constant, Implemented
1543
1544General Terminal Interface Control Functions
1545============================================
1546
1547Get and Set State
1548-----------------
1549
1550.. code:: c
1551
1552    tcgetattr(), Function, Implemented
1553    tcsetattr(), Function, Implemented
1554
1555Line Control Functions
1556----------------------
1557
1558.. code:: c
1559
1560    tcsendbreak(), Function, Dummy Implementation
1561    tcdrain(), Function, Implemented
1562    tcflush(), Function, Dummy Implementation
1563    tcflow(), Function, Dummy Implementation
1564
1565Get Foreground Process Group ID
1566-------------------------------
1567
1568.. code:: c
1569
1570    tcgetprgrp(), Function, Implemented, SUSP
1571
1572Set Foreground Process Group ID
1573-------------------------------
1574
1575.. code:: c
1576
1577    tcsetprgrp(), Function, Dummy Implementation
1578
1579.. COMMENT: COPYRIGHT (c) 1988-2002.
1580
1581.. COMMENT: On-Line Applications Research Corporation (OAR).
1582
1583.. COMMENT: All rights reserved.
1584
1585Language-Specific Services for the C Programming Language
1586#########################################################
1587
1588Referenced C Language Routines
1589==============================
1590
1591ANSI C Section 4.2 — Diagnostics
1592.. code:: c
1593
1594    assert(), Function, Implemented
1595
1596ANSI C Section 4.3 — Character Handling
1597.. code:: c
1598
1599    isalnum(), Function, Implemented
1600    isalpha(), Function, Implemented
1601    iscntrl(), Function, Implemented
1602    isdigit(), Function, Implemented
1603    isgraph(), Function, Implemented
1604    islower(), Function, Implemented
1605    isprint(), Function, Implemented
1606    ispunct(), Function, Implemented
1607    isspace(), Function, Implemented
1608    isupper(), Function, Implemented
1609    isxdigit(), Function, Implemented
1610    tolower(), Function, Implemented
1611    toupper(), Function, Implemented
1612
1613ANSI C Section 4.4 — Localization
1614.. code:: c
1615
1616    setlocale(), Function, Implemented
1617
1618ANSI C Section 4.5 — Mathematics
1619.. code:: c
1620
1621    acos(), Function, Implemented
1622    asin(), Function, Implemented
1623    atan(), Function, Implemented
1624    atan2(), Function, Implemented
1625    cos(), Function, Implemented
1626    sin(), Function, Implemented
1627    tan(), Function, Implemented
1628    cosh(), Function, Implemented
1629    sinh(), Function, Implemented
1630    tanh(), Function, Implemented
1631    exp(), Function, Implemented
1632    frexp(), Function, Implemented
1633    ldexp(), Function, Implemented
1634    log(), Function, Implemented
1635    log10(), Function, Implemented
1636    modf(), Function, Implemented
1637    pow(), Function, Implemented
1638    sqrt(), Function, Implemented
1639    ceil(), Function, Implemented
1640    fabs(), Function, Implemented
1641    floor(), Function, Implemented
1642    fmod(), Function, Implemented
1643
1644ANSI C Section 4.6 — Non-Local Jumps
1645.. code:: c
1646
1647    setjmp(), Function, Implemented
1648    longjmp(), Function, Implemented
1649
1650ANSI C Section 4.9 — Input/Output
1651.. code:: c
1652
1653    FILE, Type, Implemented
1654    clearerr(), Function, Implemented
1655    fclose(), Function, Implemented
1656    feof(), Function, Implemented
1657    ferror(), Function, Implemented
1658    fflush(), Function, Implemented
1659    fgetc(), Function, Implemented
1660    fgets(), Function, Implemented
1661    fopen(), Function, Implemented
1662    fputc(), Function, Implemented
1663    fputs(), Function, Implemented
1664    fread(), Function, Implemented
1665    freopen(), Function, Implemented
1666    fseek(), Function, Implemented
1667    ftell(), Function, Implemented
1668    fwrite(), Function, Implemented
1669    getc(), Function, Implemented
1670    getchar(), Function, Implemented
1671    gets(), Function, Implemented
1672    perror(), Function, Implemented
1673    printf(), Function, Implemented
1674    fprintf(), Function, Implemented
1675    sprintf(), Function, Implemented
1676    putc(), Function, Implemented
1677    putchar(), Function, Implemented
1678    puts(), Function, Implemented
1679    remove(), Function, Implemented
1680    rename(), Function, Partial Implementation
1681    rewind(), Function, Implemented
1682    scanf(), Function, Implemented
1683    fscanf(), Function, Implemented
1684    sscanf(), Function, Implemented
1685    setbuf(), Function, Implemented
1686    tmpfile(), Function, Implemented
1687    tmpnam(), Function, Implemented
1688    ungetc(), Function, Implemented
1689
1690NOTE: ``rename`` is also included in another section.  :ref:`Rename a File <Rename-a-File>`.
1691
1692ANSI C Section 4.10 — General Utilities
1693.. code:: c
1694
1695    abs(), Function, Implemented
1696    atof(), Function, Implemented
1697    atoi(), Function, Implemented
1698    atol(), Function, Implemented
1699    rand(), Function, Implemented
1700    srand(), Function, Implemented
1701    calloc(), Function, Implemented
1702    free(), Function, Implemented
1703    malloc(), Function, Implemented
1704    realloc(), Function, Implemented
1705    abort(), Function, Implemented
1706    exit(), Function, Implemented
1707    bsearch(), Function, Implemented
1708    qsort(), Function, Implemented
1709
1710NOTE: ``getenv`` is also included in another section.:ref:`Environment Access <Environment-Access>`.
1711
1712ANSI C Section 4.11 — String Handling
1713.. code:: c
1714
1715    strcpy(), Function, Implemented
1716    strncpy(), Function, Implemented
1717    strcat(), Function, Implemented
1718    strncat(), Function, Implemented
1719    strcmp(), Function, Implemented
1720    strncmp(), Function, Implemented
1721    strchr(), Function, Implemented
1722    strcspn(), Function, Implemented
1723    strpbrk(), Function, Implemented
1724    strrchr(), Function, Implemented
1725    strspn(), Function, Implemented
1726    strstr(), Function, Implemented
1727    strtok(), Function, Implemented
1728    strlen(), Function, Implemented
1729
1730ANSI C Section 4.12 — Date and Time Handling
1731.. code:: c
1732
1733    asctime(), Function, Implemented
1734    ctime(), Function, Implemented
1735    gmtime(), Function, Implemented
1736    localtime(), Function, Implemented
1737    mktime(), Function, Implemented
1738    strftime(), Function, Implemented
1739
1740NOTE: RTEMS has no notion of time zones.
1741
1742NOTE: ``time`` is also included in another section.:ref:`Get System Time <Get-System-Time>`.
1743
1744From Surrounding Text
1745.. code:: c
1746
1747    EXIT_SUCCESS, Constant, Implemented
1748    EXIT_FAILURE, Constant, Implemented
1749
1750Extensions to Time Functions
1751----------------------------
1752
1753Extensions to setlocale Function
1754--------------------------------
1755
1756.. code:: c
1757
1758    LC_CTYPE, Constant, Implemented
1759    LC_COLLATE, Constant, Implemented
1760    LC_TIME, Constant, Implemented
1761    LC_NUMERIC, Constant, Implemented
1762    LC_MONETARY, Constant, Implemented
1763    LC_ALL, Constant, Implemented
1764
1765C Language Input/Output Functions
1766=================================
1767
1768Map a Stream Pointer to a File Descriptor
1769-----------------------------------------
1770
1771.. code:: c
1772
1773    fileno(), Function, Implemented
1774    STDIN_FILENO, Constant, Implemented
1775    STDOUT_FILENO, Constant, Implemented
1776    STDERR_FILENO, Constant, Implemented
1777
1778Open a Stream on a File Descriptor
1779----------------------------------
1780
1781.. code:: c
1782
1783    fdopen(), Function, Implemented
1784
1785Interactions of Other FILE-Type C Functions
1786-------------------------------------------
1787
1788Operations on Files - the remove Function
1789-----------------------------------------
1790
1791Temporary File Name - the tmpnam Function
1792-----------------------------------------
1793
1794Stdio Locking Functions
1795-----------------------
1796
1797.. code:: c
1798
1799    flockfile(), Function, Unimplemented
1800    ftrylockfile(), Function, Unimplemented
1801    funlockfile(), Function, Unimplemented
1802
1803Stdio With Explicit Client Locking
1804----------------------------------
1805
1806.. code:: c
1807
1808    getc_unlocked(), Function, Unimplemented
1809    getchar_unlocked(), Function, Unimplemented
1810    putc_unlocked(), Function, Unimplemented
1811    putchar_unlocked(), Function, Unimplemented
1812
1813Other C Language Functions
1814==========================
1815
1816Nonlocal Jumps
1817--------------
1818
1819.. code:: c
1820
1821    sigjmp_buf, Type, Implemented
1822    sigsetjmp(), Function, Implemented
1823    siglongjmp(), Function, Implemented
1824
1825Set Time Zone
1826-------------
1827
1828.. code:: c
1829
1830    tzset(), Function, Unimplemented
1831
1832Find String Token
1833-----------------
1834
1835.. code:: c
1836
1837    strtok_r(), Function, Implemented
1838
1839ASCII Time Representation
1840-------------------------
1841
1842.. code:: c
1843
1844    asctime_r(), Function, Implemented
1845
1846Current Time Representation
1847---------------------------
1848
1849.. code:: c
1850
1851    ctime_r(), Function, Implemented
1852
1853Coordinated Universal Time
1854--------------------------
1855
1856.. code:: c
1857
1858    gmtime_r(), Function, Implemented
1859
1860Local Time
1861----------
1862
1863.. code:: c
1864
1865    localtime_r(), Function, Implemented
1866
1867Pseudo-Random Sequence Generation Functions
1868-------------------------------------------
1869
1870.. code:: c
1871
1872    rand_r(), Function, Implemented
1873
1874.. COMMENT: COPYRIGHT (c) 1988-2002.
1875
1876.. COMMENT: On-Line Applications Research Corporation (OAR).
1877
1878.. COMMENT: All rights reserved.
1879
1880System Databases
1881################
1882
1883System Databases Section
1884========================
1885
1886Database Access
1887===============
1888
1889Group Database Access
1890---------------------
1891
1892.. code:: c
1893
1894    struct group, Type, Implemented
1895    getgrgid(), Function, Implemented
1896    getgrgid_r(), Function, Implemented
1897    getgrname(), Function, Implemented
1898    getgrnam_r(), Function, Implemented
1899
1900NOTE: Creates /etc/group if none exists.
1901
1902User Database Access
1903--------------------
1904
1905.. code:: c
1906
1907    struct passwd, Type, Implemented
1908    getpwuid(), Function, Implemented
1909    getpwuid_r(), Function, Implemented
1910    getpwnam(), Function, Implemented
1911    getpwnam_r(), Function, Implemented
1912
1913NOTE: Creates /etc/passwd if none exists.
1914
1915.. COMMENT: COPYRIGHT (c) 1988-2002.
1916
1917.. COMMENT: On-Line Applications Research Corporation (OAR).
1918
1919.. COMMENT: All rights reserved.
1920
1921Data Interchange Format
1922#######################
1923
1924Archive/Interchange File Format
1925===============================
1926
1927Extended tar Format
1928-------------------
1929
1930.. code:: c
1931
1932    tar format, Type, Unimplemented
1933    TMAGIC, Constant, Unimplemented
1934    TMAGLEN, Constant, Unimplemented
1935    TVERSION, Constant, Unimplemented
1936    TVERSLEN, Constant, Unimplemented
1937    REGTYPE, Constant, Unimplemented
1938    AREGTYPE, Constant, Unimplemented
1939    LNKTYPE, Constant, Unimplemented
1940    SYMTYPE, Constant, Unimplemented
1941    CHRTYPE, Constant, Unimplemented
1942    BLKTYPE, Constant, Unimplemented
1943    DIRTYPE, Constant, Unimplemented
1944    FIFOTYPE, Constant, Unimplemented
1945    CONTTYPE, Constant, Unimplemented
1946    TSUID, Constant, Unimplemented
1947    TSGID, Constant, Unimplemented
1948    TSVTX, Constant, Unimplemented
1949    TUREAD, Constant, Unimplemented
1950    TUWRITE, Constant, Unimplemented
1951    TUEXEC, Constant, Unimplemented
1952    TGREAD, Constant, Unimplemented
1953    TGWRITE, Constant, Unimplemented
1954    TGEXEC, Constant, Unimplemented
1955    TOREAD, Constant, Unimplemented
1956    TOWRITE, Constant, Unimplemented
1957    TOEXEC, Constant, Unimplemented
1958
1959NOTE: Requires <tar.h> which is not in newlib.
1960
1961Extended cpio Format
1962--------------------
1963
1964.. code:: c
1965
1966    cpio format, Type, Unimplemented
1967    C_IRUSER, Constant, Unimplemented
1968    C_IWUSER, Constant, Unimplemented
1969    C_IXUSER, Constant, Unimplemented
1970    C_IRGRP, Constant, Unimplemented
1971    C_IWGRP, Constant, Unimplemented
1972    C_IXGRP, Constant, Unimplemented
1973    C_IROTH, Constant, Unimplemented
1974    C_IWOTH, Constant, Unimplemented
1975    C_IXOTH, Constant, Unimplemented
1976    C_ISUID, Constant, Unimplemented
1977    C_ISGID, Constant, Unimplemented
1978    C_ISVTX, Constant, Unimplemented
1979
1980NOTE: POSIX does not require a header file or structure.  RedHat Linux
19815.0 does not have a <cpio.h> although Solaris 2.6 does.
1982
1983Multiple Volumes
1984----------------
1985
1986.. COMMENT: COPYRIGHT (c) 1988-2002.
1987
1988.. COMMENT: On-Line Applications Research Corporation (OAR).
1989
1990.. COMMENT: All rights reserved.
1991
1992Synchronization
1993###############
1994
1995Semaphore Characteristics
1996=========================
1997
1998NOTE: Semaphores are implemented but only unnamed semaphores
1999are currently tested.
2000.. code:: c
2001
2002    sem_t, Type, Implemented
2003
2004Semaphore Functions
2005===================
2006
2007Initialize an Unnamed Semaphore
2008-------------------------------
2009
2010.. code:: c
2011
2012    sem_init(), Function, Implemented
2013    SEM_FAILED, Constant, Implemented
2014
2015Destroy an Unnamed Semaphore
2016----------------------------
2017
2018.. code:: c
2019
2020    sem_destroy(), Function, Implemented
2021
2022Initialize/Open a Named Semaphore
2023---------------------------------
2024
2025.. code:: c
2026
2027    sem_open(), Function, Implemented
2028
2029Close a Named Semaphore
2030-----------------------
2031
2032.. code:: c
2033
2034    sem_close(), Function, Implemented
2035
2036Remove a Named Semaphore
2037------------------------
2038
2039.. code:: c
2040
2041    sem_unlink(), Function, Implemented
2042
2043Lock a Semaphore
2044----------------
2045
2046.. code:: c
2047
2048    sem_wait(), Function, Implemented
2049    sem_trywait(), Function, Implemented
2050
2051Unlock a Semaphore
2052------------------
2053
2054.. code:: c
2055
2056    sem_post(), Function, Implemented
2057
2058Get the Value of a Semaphore
2059----------------------------
2060
2061.. code:: c
2062
2063    sem_getvalue(), Function, Implemented
2064
2065Mutexes
2066=======
2067
2068Mutex Initialization Attributes
2069-------------------------------
2070
2071.. code:: c
2072
2073    pthread_mutexattr_init(), Function, Implemented
2074    pthread_mutexattr_destroy(), Function, Implemented
2075    pthread_mutexattr_getpshared(), Function, Implemented
2076    pthread_mutexattr_setpshared(), Function, Implemented
2077    PTHREAD_PROCESS_SHARED, Constant, Implemented
2078    PTHREAD_PROCESS_PRIVATE, Constant, Implemented
2079
2080Initializing and Destroying a Mutex
2081-----------------------------------
2082
2083.. code:: c
2084
2085    pthread_mutex_init(), Function, Implemented
2086    pthread_mutex_destroy(), Function, Implemented
2087    PTHREAD_MUTEX_INITIALIZER, Constant, Implemented
2088
2089Locking and Unlocking a Mutex
2090-----------------------------
2091
2092.. code:: c
2093
2094    pthread_mutex_lock(), Function, Implemented
2095    pthread_mutex_trylock(), Function, Implemented
2096    pthread_mutex_unlock(), Function, Implemented
2097
2098Condition Variables
2099===================
2100
2101Condition Variable Initialization Attributes
2102--------------------------------------------
2103
2104.. code:: c
2105
2106    pthread_condattr_init(), Function, Implemented
2107    pthread_condattr_destroy(), Function, Implemented
2108    pthread_condattr_getpshared(), Function, Implemented
2109    pthread_condattr_setpshared(), Function, Implemented
2110
2111Initialization and Destroying Condition Variables
2112-------------------------------------------------
2113
2114.. code:: c
2115
2116    pthread_cond_init(), Function, Implemented
2117    pthread_cond_destroy(), Function, Implemented
2118    PTHREAD_COND_INITIALIZER, Constant, Implemented
2119
2120Broadcasting and Signaling a Condition
2121--------------------------------------
2122
2123.. code:: c
2124
2125    pthread_cond_signal(), Function, Implemented
2126    pthread_cond_broadcast(), Function, Implemented
2127
2128Waiting on a Condition
2129----------------------
2130
2131.. code:: c
2132
2133    pthread_cond_wait(), Function, Implemented
2134    pthread_cond_timedwait(), Function, Implemented
2135
2136.. COMMENT: COPYRIGHT (c) 1988-2002.
2137
2138.. COMMENT: On-Line Applications Research Corporation (OAR).
2139
2140.. COMMENT: All rights reserved.
2141
2142Memory Management
2143#################
2144
2145Memory Locking Functions
2146========================
2147
2148Lock/Unlock the Address Space of a Process
2149------------------------------------------
2150
2151.. code:: c
2152
2153    mlockall(), Function, Unimplemented
2154    munlockall(), Function, Unimplemented
2155    MCL_CURRENT, Constant, Unimplemented
2156    MCL_FUTURE, Constant,  Unimplemented
2157
2158Lock/Unlock a Rand of Process Address Space
2159-------------------------------------------
2160
2161.. code:: c
2162
2163    mlock(), Function, Unimplemented
2164    munlock(), Function, Unimplemented
2165
2166Memory Mapping Functions
2167========================
2168
2169Map Process Addresses to a Memory Object
2170----------------------------------------
2171
2172.. code:: c
2173
2174    mmap(), Function, Unimplemented
2175    PROT_READ, Constant,  Unimplemented
2176    PROT_WRITE, Constant,  Unimplemented
2177    PROT_EXEC, Constant,  Unimplemented
2178    PROT_NONE, Constant,  Unimplemented
2179    MAP_SHARED, Constant,  Unimplemented
2180    MAP_PRIVATE, Constant,  Unimplemented
2181    MAP_FIXED, Constant,  Unimplemented
2182
2183Unmap Previously Mapped Addresses
2184---------------------------------
2185
2186.. code:: c
2187
2188    munmap(), Function, Unimplemented
2189
2190Change Memory Protection
2191------------------------
2192
2193.. code:: c
2194
2195    mprotect(), Function, Unimplemented
2196
2197Memory Object Synchronization
2198-----------------------------
2199
2200.. code:: c
2201
2202    msync(), Function, Unimplemented, Unimplemented
2203    MS_ASYNC, Constant, Unimplemented
2204    MS_SYNC, Constant,  Unimplemented
2205    MS_INVALIDATE, Constant,  Unimplemented
2206
2207Shared Memory Functions
2208=======================
2209
2210Open a Shared Memory Object
2211---------------------------
2212
2213.. code:: c
2214
2215    shm_open(), Function, Unimplemented
2216
2217Remove a Shared Memory Object
2218-----------------------------
2219
2220.. code:: c
2221
2222    shm_unlink(), Function, Unimplemented
2223
2224.. COMMENT: COPYRIGHT (c) 1988-2002.
2225
2226.. COMMENT: On-Line Applications Research Corporation (OAR).
2227
2228.. COMMENT: All rights reserved.
2229
2230Execution Scheduling
2231####################
2232
2233Scheduling Parameters
2234=====================
2235
2236.. code:: c
2237
2238    struct sched_param, Type, Implemented
2239
2240Scheduling Policies
2241===================
2242
2243.. code:: c
2244
2245    SCHED_FIFO, Constant, Implemented
2246    SCHED_RR, Constant, Implemented
2247    SCHED_OTHER, Constant, Implemented
2248
2249NOTE: RTEMS adds SCHED_SPORADIC.
2250
2251SCHED_FIFO
2252----------
2253
2254SCHED_RR
2255--------
2256
2257SCHED_OTHER
2258-----------
2259
2260Process Scheduling Functions
2261============================
2262
2263Set Scheduling Parameters
2264-------------------------
2265
2266.. code:: c
2267
2268    sched_setparam(), Function, Dummy Implementation
2269
2270Get Scheduling Parameters
2271-------------------------
2272
2273.. code:: c
2274
2275    sched_getparam(), Function, Dummy Implementation
2276
2277Set Scheduling Policy and Scheduling Parameters
2278-----------------------------------------------
2279
2280.. code:: c
2281
2282    sched_setscheduler(), Function, Dummy Implementation
2283
2284Get Scheduling Policy
2285---------------------
2286
2287.. code:: c
2288
2289    sched_getscheduler(), Function, Dummy Implementation
2290
2291Yield Processor
2292---------------
2293
2294.. code:: c
2295
2296    sched_yield(), Function, Implemented
2297
2298Get Scheduling Parameter Limits
2299-------------------------------
2300
2301.. code:: c
2302
2303    sched_get_priority_max(), Function, Implemented
2304    sched_get_priority_min(), Function, Implemented
2305    sched_get_priority_rr_get_interval(), Function, Implemented
2306
2307Thread Scheduling
2308=================
2309
2310Thread Scheduling Attributes
2311----------------------------
2312
2313.. code:: c
2314
2315    PTHREAD_SCOPE_PROCESS, Constant, Implemented
2316    PTHREAD_SCOPE_SYSTEM, Constant, Implemented
2317
2318Scheduling Contention Scope
2319---------------------------
2320
2321Scheduling Allocation Domain
2322----------------------------
2323
2324Scheduling Documentation
2325------------------------
2326
2327Thread Scheduling Functions
2328===========================
2329
2330Thread Creation Scheduling Attributes
2331-------------------------------------
2332
2333.. code:: c
2334
2335    pthread_attr_setscope(), Function, Implemented
2336    pthread_attr_getscope(), Function, Implemented
2337    pthread_attr_setinheritsched(), Function, Implemented
2338    pthread_attr_getinheritsched(), Function, Implemented
2339    pthread_attr_setschedpolicy(), Function, Implemented
2340    pthread_attr_getschedpolicy(), Function, Implemented
2341    pthread_attr_setschedparam(), Function, Implemented
2342    pthread_attr_getschedparam(), Function, Implemented
2343    PTHREAD_INHERIT_SCHED, Constant, Implemented
2344    PTHREAD_EXPLICIT_SCHED, Constant, Implemented
2345
2346Dynamic Thread Scheduling Parameters Access
2347-------------------------------------------
2348
2349.. code:: c
2350
2351    pthread_setschedparam(), Function, Implemented
2352    pthread_getschedparam(), Function, Implemented
2353
2354Synchronization Scheduling
2355==========================
2356
2357Mutex Initialization Scheduling Attributes
2358------------------------------------------
2359
2360.. code:: c
2361
2362    pthread_mutexattr_setprotocol(), Function, Implemented
2363    pthread_mutexattr_getprotocol(), Function, Implemented
2364    pthread_mutexattr_setprioceiling(), Function, Implemented
2365    pthread_mutexattr_getprioceiling(), Function, Implemented
2366    PTHREAD_PRIO_NONE, Constant, Implemented
2367    PTHREAD_PRIO_INHERIT, Constant, Implemented
2368    PTHREAD_PRIO_PROTECT, Constant, Implemented
2369
2370Change the Priority Ceiling of a Mutex
2371--------------------------------------
2372
2373.. code:: c
2374
2375    pthread_mutex_setprioceiling(), Function, Implemented
2376    pthread_mutex_getprioceiling(), Function, Implemented
2377
2378.. COMMENT: COPYRIGHT (c) 1988-2002.
2379
2380.. COMMENT: On-Line Applications Research Corporation (OAR).
2381
2382.. COMMENT: All rights reserved.
2383
2384Clocks and Timers
2385#################
2386
2387Data Definitions for Clocks and Timers
2388======================================
2389
2390Time Value Specification Structures
2391-----------------------------------
2392
2393.. code:: c
2394
2395    struct timespec, Type, Implemented
2396    struct itimerspec, Type, Implemented
2397
2398Timer Event Notification Control Block
2399--------------------------------------
2400
2401Type Definitions
2402----------------
2403
2404.. code:: c
2405
2406    clockid_t, Type, Implemented
2407    timerid_t, Type, Implemented
2408
2409Timer Event Notification Manifest Constants
2410-------------------------------------------
2411
2412.. code:: c
2413
2414    CLOCK_REALTIME, Constant, Implemented
2415    TIMER_ABSTIME, Constant, Implemented
2416
2417Clock and Timer Functions
2418=========================
2419
2420Clocks
2421------
2422
2423.. code:: c
2424
2425    clock_settime(), Function, Partial Implementation
2426    clock_gettime(), Function, Partial Implementation
2427    clock_getres(), Function, Implemented
2428
2429Create a Per-Process Timer
2430--------------------------
2431
2432.. code:: c
2433
2434    timer_create(), Function, Implemented
2435
2436Delete a Per-Process Timer
2437--------------------------
2438
2439.. code:: c
2440
2441    timer_delete(), Function, Implemented
2442
2443Per-Process Timers
2444------------------
2445
2446.. code:: c
2447
2448    timer_settime(), Function, Implemented
2449    timer_gettime(), Function, Implemented
2450    timer_getoverrun(), Function, Implemented
2451
2452High Resolution Sleep
2453---------------------
2454
2455.. code:: c
2456
2457    nanosleep(), Function, Implemented
2458
2459.. COMMENT: COPYRIGHT (c) 1988-2002.
2460
2461.. COMMENT: On-Line Applications Research Corporation (OAR).
2462
2463.. COMMENT: All rights reserved.
2464
2465Message Passing
2466###############
2467
2468Data Definitions for Message Queues
2469===================================
2470
2471Data Structures
2472---------------
2473
2474NOTE: Semaphores are implemented but only unnamed semaphores
2475are currently tested.
2476.. code:: c
2477
2478    mqd_t, Type, Implemented
2479    struct mq_attr, Type, Implemented
2480
2481Message Passing Functions
2482=========================
2483
2484Open a Message Queue
2485--------------------
2486
2487.. code:: c
2488
2489    mq_open(), Function, Implemented
2490
2491Close a Message Queue
2492---------------------
2493
2494.. code:: c
2495
2496    mq_close(), Function, Implemented
2497
2498Remove a Message Queue
2499----------------------
2500
2501.. code:: c
2502
2503    mq_unlink(), Function, Implemented
2504
2505Send a Message to a Message Queue
2506---------------------------------
2507
2508.. code:: c
2509
2510    mq_send(), Function, Implemented
2511
2512Receive a Message From a Message Queue
2513--------------------------------------
2514
2515.. code:: c
2516
2517    mq_receive(), Function, Implemented
2518
2519Notify Process That a Message is Available on a Queue
2520-----------------------------------------------------
2521
2522.. code:: c
2523
2524    mq_notify(), Function, Implemented
2525
2526Set Message Queue Attributes
2527----------------------------
2528
2529.. code:: c
2530
2531    mq_setattr(), Function, Implemented
2532
2533Get Message Queue Attributes
2534----------------------------
2535
2536.. code:: c
2537
2538    mq_getattr(), Function, Implemented
2539
2540.. COMMENT: COPYRIGHT (c) 1988-2002.
2541
2542.. COMMENT: On-Line Applications Research Corporation (OAR).
2543
2544.. COMMENT: All rights reserved.
2545
2546Thread Management
2547#################
2548
2549Threads
2550=======
2551
2552Thread Functions
2553================
2554
2555Thread Creation Attributes
2556--------------------------
2557
2558.. code:: c
2559
2560    pthread_attr_init(), Function, Implemented
2561    pthread_attr_destroy(), Function, Implemented
2562    pthread_attr_setstacksize(), Function, Implemented
2563    pthread_attr_getstacksize(), Function, Implemented
2564    pthread_attr_setstackaddr(), Function, Implemented
2565    pthread_attr_getstackaddr(), Function, Implemented
2566    pthread_attr_setdetachstate(), Function, Implemented
2567    pthread_attr_getdetachstate(), Function, Implemented
2568    PTHREAD_CREATE_JOINABLE, Constant, Implemented
2569    PTHREAD_CREATE_DETACHED, Constant, Implemented
2570
2571Thread Creation
2572---------------
2573
2574.. code:: c
2575
2576    pthread_create(), Function, Implemented
2577
2578Wait for Thread Termination
2579---------------------------
2580
2581.. code:: c
2582
2583    pthread_join(), Function, Implemented
2584
2585Detaching a Thread
2586------------------
2587
2588.. code:: c
2589
2590    pthread_detach(), Function, Implemented
2591
2592Thread Termination
2593------------------
2594
2595.. code:: c
2596
2597    pthread_exit(), Function, Implemented
2598
2599Get Thread ID
2600-------------
2601
2602.. code:: c
2603
2604    pthread_self(), Function, Implemented
2605
2606Compare Thread IDs
2607------------------
2608
2609.. code:: c
2610
2611    pthread_equal(), Function, Implemented
2612
2613Dynamic Package Initialization
2614------------------------------
2615
2616.. code:: c
2617
2618    pthread_once(), Function, Implemented
2619    PTHREAD_ONCE_INIT, Constant, Implemented
2620
2621.. COMMENT: COPYRIGHT (c) 1988-2002.
2622
2623.. COMMENT: On-Line Applications Research Corporation (OAR).
2624
2625.. COMMENT: All rights reserved.
2626
2627Thread-Specific Data
2628####################
2629
2630Thread-Specific Data Functions
2631==============================
2632
2633Thread-Specific Data Key Creation
2634---------------------------------
2635
2636.. code:: c
2637
2638    pthread_key_create(), Function, Implemented
2639
2640Thread-Specific Data Management
2641-------------------------------
2642
2643.. code:: c
2644
2645    pthread_key_setspecific(), Function, Implemented
2646    pthread_key_getspecific(), Function, Implemented
2647
2648Thread-Specific Data Key Deletion
2649---------------------------------
2650
2651.. code:: c
2652
2653    pthread_key_delete(), Function, Implemented
2654
2655.. COMMENT: COPYRIGHT (c) 1988-2002.
2656
2657.. COMMENT: On-Line Applications Research Corporation (OAR).
2658
2659.. COMMENT: All rights reserved.
2660
2661Thread Cancellation
2662###################
2663
2664Thread Cancellation Overview
2665============================
2666
2667Cancelability States
2668--------------------
2669
2670.. code:: c
2671
2672    PTHREAD_CANCEL_DISABLE, Constant, Implemented
2673    PTHREAD_CANCEL_ENABLE, Constant, Implemented
2674    PTHREAD_CANCEL_ASYNCHRONOUS, Constant, Implemented
2675    PTHREAD_CANCEL_DEFERRED, Constant, Implemented
2676
2677Cancellation Points
2678-------------------
2679
2680Thread Cancellation Cleanup Handlers
2681------------------------------------
2682
2683.. code:: c
2684
2685    PTHREAD_CANCELED, Constant, Unimplemented
2686
2687Async-Cancel Safety
2688-------------------
2689
2690Thread Cancellation Functions
2691=============================
2692
2693Canceling Execution of a Thread
2694-------------------------------
2695
2696.. code:: c
2697
2698    pthread_cancel(), Function, Implemented
2699
2700Setting Cancelability State
2701---------------------------
2702
2703.. code:: c
2704
2705    pthread_setcancelstate(), Function, Implemented
2706    pthread_setcanceltype(), Function, Implemented
2707    pthread_testcancel(), Function, Implemented
2708
2709Establishing Cancellation Handlers
2710----------------------------------
2711
2712.. code:: c
2713
2714    pthread_cleanup_push(), Function, Implemented
2715    pthread_cleanup_pop(), Function, Implemented
2716
2717Language-Independent Cancellation Functionality
2718===============================================
2719
2720Requesting Cancellation
2721-----------------------
2722
2723Associating Cleanup Code With Scopes
2724------------------------------------
2725
2726Controlling Cancellation Within Scopes
2727--------------------------------------
2728
2729Defined Cancellation Sequence
2730-----------------------------
2731
2732List of Cancellation Points
2733---------------------------
2734
2735.. COMMENT: DO NOT EDIT - AUTOMATICALLY GENERATED!!!
2736
2737Compliance Summary
2738##################
2739
2740General Chapter
2741===============
2742
2743.. code:: c
2744
2745    Functions:
2746    Total Number    :        0
2747    Implemented     :        0
2748    Unimplemented   :        0
2749    Unimplementable :        0
2750    Partial         :        0
2751    Dummy           :        0
2752    Untested        :        0
2753
2754.. code:: c
2755
2756    Data Types:
2757    Total Number    :        0
2758    Implemented     :        0
2759    Unimplemented   :        0
2760    Unimplementable :        0
2761    Partial         :        0
2762    Dummy           :        0
2763    Untested        :        0
2764
2765.. code:: c
2766
2767    Feature Flags:
2768    Total Number    :       21
2769    Implemented     :        0
2770    Unimplemented   :        0
2771    Unimplementable :        0
2772    Partial         :        0
2773    Dummy           :        0
2774    Untested        :        0
2775
2776*FEATURE FLAG COUNTS DO NOT ADD UP!!*
2777.. code:: c
2778
2779    Constants:
2780    Total Number    :        0
2781    Implemented     :        0
2782    Unimplemented   :        0
2783    Unimplementable :        0
2784    Partial         :        0
2785    Dummy           :        0
2786    Untested        :        0
2787
2788Terminology and General Requirements Chapter
2789============================================
2790
2791.. code:: c
2792
2793    Functions:
2794    Total Number    :        0
2795    Implemented     :        0
2796    Unimplemented   :        0
2797    Unimplementable :        0
2798    Partial         :        0
2799    Dummy           :        0
2800    Untested        :        0
2801
2802.. code:: c
2803
2804    Data Types:
2805    Total Number    :       19
2806    Implemented     :       19
2807    Unimplemented   :        0
2808    Unimplementable :        0
2809    Partial         :        0
2810    Dummy           :        0
2811    Untested        :        0
2812
2813.. code:: c
2814
2815    Feature Flags:
2816    Total Number    :       32
2817    Implemented     :        0
2818    Unimplemented   :        0
2819    Unimplementable :        0
2820    Partial         :        0
2821    Dummy           :        0
2822    Untested        :        0
2823
2824*FEATURE FLAG COUNTS DO NOT ADD UP!!*
2825.. code:: c
2826
2827    Constants:
2828    Total Number    :      126
2829    Implemented     :      124
2830    Unimplemented   :        2
2831    Unimplementable :        0
2832    Partial         :        0
2833    Dummy           :        0
2834    Untested        :        0
2835
2836Process Primitives Chapter
2837==========================
2838
2839.. code:: c
2840
2841    Functions:
2842    Total Number    :       36
2843    Implemented     :       20
2844    Unimplemented   :        0
2845    Unimplementable :       16
2846    Partial         :        0
2847    Dummy           :        0
2848    Untested        :        0
2849
2850.. code:: c
2851
2852    Data Types:
2853    Total Number    :        5
2854    Implemented     :        5
2855    Unimplemented   :        0
2856    Unimplementable :        0
2857    Partial         :        0
2858    Dummy           :        0
2859    Untested        :        0
2860
2861.. code:: c
2862
2863    Feature Flags:
2864    Total Number    :        0
2865    Implemented     :        0
2866    Unimplemented   :        0
2867    Unimplementable :        0
2868    Partial         :        0
2869    Dummy           :        0
2870    Untested        :        0
2871
2872.. code:: c
2873
2874    Constants:
2875    Total Number    :       40
2876    Implemented     :       32
2877    Unimplemented   :        6
2878    Unimplementable :        2
2879    Partial         :        0
2880    Dummy           :        0
2881    Untested        :        0
2882
2883Process Environment Chapter
2884===========================
2885
2886.. code:: c
2887
2888    Functions:
2889    Total Number    :       23
2890    Implemented     :       21
2891    Unimplemented   :        0
2892    Unimplementable :        0
2893    Partial         :        0
2894    Dummy           :        2
2895    Untested        :        0
2896
2897.. code:: c
2898
2899    Data Types:
2900    Total Number    :        2
2901    Implemented     :        2
2902    Unimplemented   :        0
2903    Unimplementable :        0
2904    Partial         :        0
2905    Dummy           :        0
2906    Untested        :        0
2907
2908.. code:: c
2909
2910    Feature Flags:
2911    Total Number    :        0
2912    Implemented     :        0
2913    Unimplemented   :        0
2914    Unimplementable :        0
2915    Partial         :        0
2916    Dummy           :        0
2917    Untested        :        0
2918
2919.. code:: c
2920
2921    Constants:
2922    Total Number    :       53
2923    Implemented     :       51
2924    Unimplemented   :        2
2925    Unimplementable :        0
2926    Partial         :        0
2927    Dummy           :        0
2928    Untested        :        0
2929
2930Files and Directories Chapter
2931=============================
2932
2933.. code:: c
2934
2935    Functions:
2936    Total Number    :       35
2937    Implemented     :       29
2938    Unimplemented   :        3
2939    Unimplementable :        0
2940    Partial         :        1
2941    Dummy           :        0
2942    Untested        :        1
2943
2944*FUNCTION COUNTS DO NOT ADD UP!!*
2945.. code:: c
2946
2947    Data Types:
2948    Total Number    :        3
2949    Implemented     :        3
2950    Unimplemented   :        0
2951    Unimplementable :        0
2952    Partial         :        0
2953    Dummy           :        0
2954    Untested        :        0
2955
2956.. code:: c
2957
2958    Feature Flags:
2959    Total Number    :        0
2960    Implemented     :        0
2961    Unimplemented   :        0
2962    Unimplementable :        0
2963    Partial         :        0
2964    Dummy           :        0
2965    Untested        :        0
2966
2967.. code:: c
2968
2969    Constants:
2970    Total Number    :       39
2971    Implemented     :       37
2972    Unimplemented   :        2
2973    Unimplementable :        0
2974    Partial         :        0
2975    Dummy           :        0
2976    Untested        :        0
2977
2978Input and Output Primitives Chapter
2979===================================
2980
2981.. code:: c
2982
2983    Functions:
2984    Total Number    :       19
2985    Implemented     :        9
2986    Unimplemented   :        0
2987    Unimplementable :        0
2988    Partial         :        0
2989    Dummy           :        9
2990    Untested        :        0
2991
2992*FUNCTION COUNTS DO NOT ADD UP!!*
2993.. code:: c
2994
2995    Data Types:
2996    Total Number    :        2
2997    Implemented     :        1
2998    Unimplemented   :        0
2999    Unimplementable :        0
3000    Partial         :        0
3001    Dummy           :        0
3002    Untested        :        1
3003
3004.. code:: c
3005
3006    Feature Flags:
3007    Total Number    :        0
3008    Implemented     :        0
3009    Unimplemented   :        0
3010    Unimplementable :        0
3011    Partial         :        0
3012    Dummy           :        0
3013    Untested        :        0
3014
3015.. code:: c
3016
3017    Constants:
3018    Total Number    :       24
3019    Implemented     :       24
3020    Unimplemented   :        0
3021    Unimplementable :        0
3022    Partial         :        0
3023    Dummy           :        0
3024    Untested        :        0
3025
3026Device- and Class-Specific Functions Chapter
3027============================================
3028
3029.. code:: c
3030
3031    Functions:
3032    Total Number    :       12
3033    Implemented     :        8
3034    Unimplemented   :        0
3035    Unimplementable :        0
3036    Partial         :        0
3037    Dummy           :        4
3038    Untested        :        0
3039
3040.. code:: c
3041
3042    Data Types:
3043    Total Number    :        3
3044    Implemented     :        3
3045    Unimplemented   :        0
3046    Unimplementable :        0
3047    Partial         :        0
3048    Dummy           :        0
3049    Untested        :        0
3050
3051.. code:: c
3052
3053    Feature Flags:
3054    Total Number    :        0
3055    Implemented     :        0
3056    Unimplemented   :        0
3057    Unimplementable :        0
3058    Partial         :        0
3059    Dummy           :        0
3060    Untested        :        0
3061
3062.. code:: c
3063
3064    Constants:
3065    Total Number    :       77
3066    Implemented     :       76
3067    Unimplemented   :        1
3068    Unimplementable :        0
3069    Partial         :        0
3070    Dummy           :        0
3071    Untested        :        0
3072
3073Language-Specific Services for the C Programming Language Chapter
3074=================================================================
3075
3076.. code:: c
3077
3078    Functions:
3079    Total Number    :      126
3080    Implemented     :      117
3081    Unimplemented   :        8
3082    Unimplementable :        0
3083    Partial         :        1
3084    Dummy           :        0
3085    Untested        :        0
3086
3087.. code:: c
3088
3089    Data Types:
3090    Total Number    :        2
3091    Implemented     :        2
3092    Unimplemented   :        0
3093    Unimplementable :        0
3094    Partial         :        0
3095    Dummy           :        0
3096    Untested        :        0
3097
3098.. code:: c
3099
3100    Feature Flags:
3101    Total Number    :        0
3102    Implemented     :        0
3103    Unimplemented   :        0
3104    Unimplementable :        0
3105    Partial         :        0
3106    Dummy           :        0
3107    Untested        :        0
3108
3109.. code:: c
3110
3111    Constants:
3112    Total Number    :       11
3113    Implemented     :       11
3114    Unimplemented   :        0
3115    Unimplementable :        0
3116    Partial         :        0
3117    Dummy           :        0
3118    Untested        :        0
3119
3120System Databases Chapter
3121========================
3122
3123.. code:: c
3124
3125    Functions:
3126    Total Number    :        8
3127    Implemented     :        8
3128    Unimplemented   :        0
3129    Unimplementable :        0
3130    Partial         :        0
3131    Dummy           :        0
3132    Untested        :        0
3133
3134.. code:: c
3135
3136    Data Types:
3137    Total Number    :        2
3138    Implemented     :        2
3139    Unimplemented   :        0
3140    Unimplementable :        0
3141    Partial         :        0
3142    Dummy           :        0
3143    Untested        :        0
3144
3145.. code:: c
3146
3147    Feature Flags:
3148    Total Number    :        0
3149    Implemented     :        0
3150    Unimplemented   :        0
3151    Unimplementable :        0
3152    Partial         :        0
3153    Dummy           :        0
3154    Untested        :        0
3155
3156.. code:: c
3157
3158    Constants:
3159    Total Number    :        0
3160    Implemented     :        0
3161    Unimplemented   :        0
3162    Unimplementable :        0
3163    Partial         :        0
3164    Dummy           :        0
3165    Untested        :        0
3166
3167Data Interchange Format Chapter
3168===============================
3169
3170.. code:: c
3171
3172    Functions:
3173    Total Number    :        0
3174    Implemented     :        0
3175    Unimplemented   :        0
3176    Unimplementable :        0
3177    Partial         :        0
3178    Dummy           :        0
3179    Untested        :        0
3180
3181.. code:: c
3182
3183    Data Types:
3184    Total Number    :        2
3185    Implemented     :        0
3186    Unimplemented   :        2
3187    Unimplementable :        0
3188    Partial         :        0
3189    Dummy           :        0
3190    Untested        :        0
3191
3192.. code:: c
3193
3194    Feature Flags:
3195    Total Number    :        0
3196    Implemented     :        0
3197    Unimplemented   :        0
3198    Unimplementable :        0
3199    Partial         :        0
3200    Dummy           :        0
3201    Untested        :        0
3202
3203.. code:: c
3204
3205    Constants:
3206    Total Number    :       37
3207    Implemented     :        0
3208    Unimplemented   :       37
3209    Unimplementable :        0
3210    Partial         :        0
3211    Dummy           :        0
3212    Untested        :        0
3213
3214Synchronization Chapter
3215=======================
3216
3217.. code:: c
3218
3219    Functions:
3220    Total Number    :       28
3221    Implemented     :       28
3222    Unimplemented   :        0
3223    Unimplementable :        0
3224    Partial         :        0
3225    Dummy           :        0
3226    Untested        :        0
3227
3228.. code:: c
3229
3230    Data Types:
3231    Total Number    :        1
3232    Implemented     :        1
3233    Unimplemented   :        0
3234    Unimplementable :        0
3235    Partial         :        0
3236    Dummy           :        0
3237    Untested        :        0
3238
3239.. code:: c
3240
3241    Feature Flags:
3242    Total Number    :        0
3243    Implemented     :        0
3244    Unimplemented   :        0
3245    Unimplementable :        0
3246    Partial         :        0
3247    Dummy           :        0
3248    Untested        :        0
3249
3250.. code:: c
3251
3252    Constants:
3253    Total Number    :        5
3254    Implemented     :        5
3255    Unimplemented   :        0
3256    Unimplementable :        0
3257    Partial         :        0
3258    Dummy           :        0
3259    Untested        :        0
3260
3261Memory Management Chapter
3262=========================
3263
3264.. code:: c
3265
3266    Functions:
3267    Total Number    :       10
3268    Implemented     :        0
3269    Unimplemented   :       10
3270    Unimplementable :        0
3271    Partial         :        0
3272    Dummy           :        0
3273    Untested        :        0
3274
3275.. code:: c
3276
3277    Data Types:
3278    Total Number    :        0
3279    Implemented     :        0
3280    Unimplemented   :        0
3281    Unimplementable :        0
3282    Partial         :        0
3283    Dummy           :        0
3284    Untested        :        0
3285
3286.. code:: c
3287
3288    Feature Flags:
3289    Total Number    :        0
3290    Implemented     :        0
3291    Unimplemented   :        0
3292    Unimplementable :        0
3293    Partial         :        0
3294    Dummy           :        0
3295    Untested        :        0
3296
3297.. code:: c
3298
3299    Constants:
3300    Total Number    :       12
3301    Implemented     :        0
3302    Unimplemented   :       12
3303    Unimplementable :        0
3304    Partial         :        0
3305    Dummy           :        0
3306    Untested        :        0
3307
3308Execution Scheduling Chapter
3309============================
3310
3311.. code:: c
3312
3313    Functions:
3314    Total Number    :       24
3315    Implemented     :       20
3316    Unimplemented   :        0
3317    Unimplementable :        0
3318    Partial         :        0
3319    Dummy           :        4
3320    Untested        :        0
3321
3322.. code:: c
3323
3324    Data Types:
3325    Total Number    :        1
3326    Implemented     :        1
3327    Unimplemented   :        0
3328    Unimplementable :        0
3329    Partial         :        0
3330    Dummy           :        0
3331    Untested        :        0
3332
3333.. code:: c
3334
3335    Feature Flags:
3336    Total Number    :        0
3337    Implemented     :        0
3338    Unimplemented   :        0
3339    Unimplementable :        0
3340    Partial         :        0
3341    Dummy           :        0
3342    Untested        :        0
3343
3344.. code:: c
3345
3346    Constants:
3347    Total Number    :       10
3348    Implemented     :       10
3349    Unimplemented   :        0
3350    Unimplementable :        0
3351    Partial         :        0
3352    Dummy           :        0
3353    Untested        :        0
3354
3355Clocks and Timers Chapter
3356=========================
3357
3358.. code:: c
3359
3360    Functions:
3361    Total Number    :        9
3362    Implemented     :        7
3363    Unimplemented   :        0
3364    Unimplementable :        0
3365    Partial         :        2
3366    Dummy           :        0
3367    Untested        :        0
3368
3369.. code:: c
3370
3371    Data Types:
3372    Total Number    :        4
3373    Implemented     :        4
3374    Unimplemented   :        0
3375    Unimplementable :        0
3376    Partial         :        0
3377    Dummy           :        0
3378    Untested        :        0
3379
3380.. code:: c
3381
3382    Feature Flags:
3383    Total Number    :        0
3384    Implemented     :        0
3385    Unimplemented   :        0
3386    Unimplementable :        0
3387    Partial         :        0
3388    Dummy           :        0
3389    Untested        :        0
3390
3391.. code:: c
3392
3393    Constants:
3394    Total Number    :        2
3395    Implemented     :        2
3396    Unimplemented   :        0
3397    Unimplementable :        0
3398    Partial         :        0
3399    Dummy           :        0
3400    Untested        :        0
3401
3402Message Passing Chapter
3403=======================
3404
3405.. code:: c
3406
3407    Functions:
3408    Total Number    :        8
3409    Implemented     :        8
3410    Unimplemented   :        0
3411    Unimplementable :        0
3412    Partial         :        0
3413    Dummy           :        0
3414    Untested        :        0
3415
3416.. code:: c
3417
3418    Data Types:
3419    Total Number    :        2
3420    Implemented     :        2
3421    Unimplemented   :        0
3422    Unimplementable :        0
3423    Partial         :        0
3424    Dummy           :        0
3425    Untested        :        0
3426
3427.. code:: c
3428
3429    Feature Flags:
3430    Total Number    :        0
3431    Implemented     :        0
3432    Unimplemented   :        0
3433    Unimplementable :        0
3434    Partial         :        0
3435    Dummy           :        0
3436    Untested        :        0
3437
3438.. code:: c
3439
3440    Constants:
3441    Total Number    :        0
3442    Implemented     :        0
3443    Unimplemented   :        0
3444    Unimplementable :        0
3445    Partial         :        0
3446    Dummy           :        0
3447    Untested        :        0
3448
3449Thread Management Chapter
3450=========================
3451
3452.. code:: c
3453
3454    Functions:
3455    Total Number    :       15
3456    Implemented     :       15
3457    Unimplemented   :        0
3458    Unimplementable :        0
3459    Partial         :        0
3460    Dummy           :        0
3461    Untested        :        0
3462
3463.. code:: c
3464
3465    Data Types:
3466    Total Number    :        0
3467    Implemented     :        0
3468    Unimplemented   :        0
3469    Unimplementable :        0
3470    Partial         :        0
3471    Dummy           :        0
3472    Untested        :        0
3473
3474.. code:: c
3475
3476    Feature Flags:
3477    Total Number    :        0
3478    Implemented     :        0
3479    Unimplemented   :        0
3480    Unimplementable :        0
3481    Partial         :        0
3482    Dummy           :        0
3483    Untested        :        0
3484
3485.. code:: c
3486
3487    Constants:
3488    Total Number    :        3
3489    Implemented     :        3
3490    Unimplemented   :        0
3491    Unimplementable :        0
3492    Partial         :        0
3493    Dummy           :        0
3494    Untested        :        0
3495
3496Thread-Specific Data Chapter
3497============================
3498
3499.. code:: c
3500
3501    Functions:
3502    Total Number    :        4
3503    Implemented     :        4
3504    Unimplemented   :        0
3505    Unimplementable :        0
3506    Partial         :        0
3507    Dummy           :        0
3508    Untested        :        0
3509
3510.. code:: c
3511
3512    Data Types:
3513    Total Number    :        0
3514    Implemented     :        0
3515    Unimplemented   :        0
3516    Unimplementable :        0
3517    Partial         :        0
3518    Dummy           :        0
3519    Untested        :        0
3520
3521.. code:: c
3522
3523    Feature Flags:
3524    Total Number    :        0
3525    Implemented     :        0
3526    Unimplemented   :        0
3527    Unimplementable :        0
3528    Partial         :        0
3529    Dummy           :        0
3530    Untested        :        0
3531
3532.. code:: c
3533
3534    Constants:
3535    Total Number    :        0
3536    Implemented     :        0
3537    Unimplemented   :        0
3538    Unimplementable :        0
3539    Partial         :        0
3540    Dummy           :        0
3541    Untested        :        0
3542
3543Thread Cancellation Chapter
3544===========================
3545
3546.. code:: c
3547
3548    Functions:
3549    Total Number    :        6
3550    Implemented     :        6
3551    Unimplemented   :        0
3552    Unimplementable :        0
3553    Partial         :        0
3554    Dummy           :        0
3555    Untested        :        0
3556
3557.. code:: c
3558
3559    Data Types:
3560    Total Number    :        0
3561    Implemented     :        0
3562    Unimplemented   :        0
3563    Unimplementable :        0
3564    Partial         :        0
3565    Dummy           :        0
3566    Untested        :        0
3567
3568.. code:: c
3569
3570    Feature Flags:
3571    Total Number    :        0
3572    Implemented     :        0
3573    Unimplemented   :        0
3574    Unimplementable :        0
3575    Partial         :        0
3576    Dummy           :        0
3577    Untested        :        0
3578
3579.. code:: c
3580
3581    Constants:
3582    Total Number    :        5
3583    Implemented     :        4
3584    Unimplemented   :        1
3585    Unimplementable :        0
3586    Partial         :        0
3587    Dummy           :        0
3588    Untested        :        0
3589
3590Overall Summary
3591===============
3592
3593.. code:: c
3594
3595    Functions:
3596    Total Number    :      363
3597    Implemented     :      300
3598    Unimplemented   :       21
3599    Unimplementable :       16
3600    Partial         :        4
3601    Dummy           :       19
3602    Untested        :        1
3603
3604*FUNCTION COUNTS DO NOT ADD UP!!*
3605.. code:: c
3606
3607    Data Types:
3608    Total Number    :       48
3609    Implemented     :       45
3610    Unimplemented   :        2
3611    Unimplementable :        0
3612    Partial         :        0
3613    Dummy           :        0
3614    Untested        :        1
3615
3616.. code:: c
3617
3618    Feature Flags:
3619    Total Number    :       53
3620    Implemented     :        0
3621    Unimplemented   :        0
3622    Unimplementable :        0
3623    Partial         :        0
3624    Dummy           :        0
3625    Untested        :        0
3626
3627*FEATURE FLAG COUNTS DO NOT ADD UP!!*
3628.. code:: c
3629
3630    Constants:
3631    Total Number    :      444
3632    Implemented     :      379
3633    Unimplemented   :       63
3634    Unimplementable :        2
3635    Partial         :        0
3636    Dummy           :        0
3637    Untested        :        0
3638
3639Command and Variable Index
3640##########################
3641
3642There are currently no Command and Variable Index entries.
3643
3644.. COMMENT: @printindex fn
3645
3646Concept Index
3647#############
3648
3649There are currently no Concept Index entries.
3650
3651.. COMMENT: @printindex cp
Note: See TracBrowser for help on using the repository browser.