source: rtems-docs/posix1003_1/posix1003_1.rst @ 7a758c2

4.115
Last change on this file since 7a758c2 was 7a758c2, checked in by Amar Takhar <amar@…>, on 01/17/16 at 00:11:59

Fix warnings.

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