source: rtems-docs/posix1003_1/posix1003_1.rst @ 489740f

4.115
Last change on this file since 489740f was 489740f, checked in by Chris Johns <chrisj@…>, on 05/20/16 at 02:47:09

Set SPDX License Identifier in each source file.

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