Changeset c78be42 in rtems


Ignore:
Timestamp:
Mar 17, 1998, 11:10:33 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7331714
Parents:
6984a19
Message:

First attempt at adding constants and feature flags

Location:
doc/posix1003.1
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • doc/posix1003.1/Makefile

    r6984a19 rc78be42  
    6464
    6565ch03.texi: ch03.t
    66         $(BMENU) -c -p "Symbolic Constants" \
     66        $(BMENU) -c -p "Execution-Time Symbolic Constants for Portability Specifications" \
    6767            -u "Top" \
    6868            -n "Process Environment" ${*}.t
  • doc/posix1003.1/ch01.t

    r6984a19 rc78be42  
    1515@section Conformance
    1616
     17@example
     18NGROUPS_MAX, Feature Flag,
     19_POSIX_ASYNCHRONOUS_IO, Feature Flag,
     20_POSIX_CHOWN_RESTRICTED, Feature Flag,
     21_POSIX_FSYNC, Feature Flag,
     22_POSIX_JOB_CONTROL, Feature Flag,
     23_POSIX_MAPPED_FILES, Feature Flag,
     24_POSIX_MEMLOCK, Feature Flag,
     25_POSIX_MEMLOCK_RANGE, Feature Flag,
     26_POSIX_MEMORY_PROTECTION, Feature Flag,
     27_POSIX_MESSAGE_PASSING, Feature Flag,
     28_POSIX_PRIORITIZED_IO, Feature Flag,
     29_POSIX_PRIORITY_SCHEDULING, Feature Flag,
     30_POSIX_REALTIME_SIGNALS, Feature Flag,
     31_POSIX_SEMAPHORES, Feature Flag,
     32_POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
     33_POSIX_SYNCHRONIZED_IO, Feature Flag,
     34_POSIX_TIMERS, Feature Flag,
     35_POSIX_THREAD_PRIO_INHERIT, Feature Flag,
     36_POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
     37_POSIX_THREADS, Feature Flag,
     38_POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
     39@end example
     40
  • doc/posix1003.1/ch02.t

    r6984a19 rc78be42  
    1616
    1717@section Error Numbers
     18
     19@example
     20E2BIG, Constant,
     21EACCES, Constant,
     22EAGAIN, Constant,
     23EBADF, Constant,
     24EBADMSG, Constant,
     25EBUSY, Constant,
     26ECANCELED, Constant,
     27ECHILD, Constant,
     28EDEADLK, Constant,
     29EDOM, Constant,
     30EEXIST, Constant,
     31EFAULT, Constant,
     32EFBIG, Constant,
     33EINPROGRESS, Constant,
     34EINTR, Constant,
     35EINVAL, Constant,
     36EIO, Constant,
     37EISDIR, Constant,
     38EMFILE, Constant,
     39EMLINK, Constant,
     40EMSGSIZE, Constant,
     41ENAMETOOLONG, Constant,
     42ENFILE, Constant,
     43ENODEV, Constant,
     44ENOENT, Constant,
     45ENOEXEC, Constant,
     46ENOLCK, Constant,
     47ENOMEM, Constant,
     48ENOSPC, Constant,
     49ENOSYS, Constant,
     50ENOTDIR, Constant,
     51ENOTEMPTY, Constant,
     52ENOTSUP, Constant,
     53ENOTTY, Constant,
     54ENXIO, Constant,
     55EPERM, Constant,
     56EPIPE, Constant,
     57ERANGE, Constant,
     58EROFS, Constant,
     59ESPIPE, Constant,
     60ESRCH, Constant,
     61ETIMEDOUT, Constant,
     62EXDEV, Constant,
     63@end example
    1864
    1965@section Primitive System Types
     
    4793@section C Language Definitions
    4894
     95@subsection Symbols From the C Standard
     96
     97@subsection POSIX.1 Symbols
     98
     99@example
     100_POSIX_C_SOURCE, Feature Flag,
     101@end example
     102
    49103@section Numerical Limits
    50104
     105@section C Language Limits
     106
     107@example
     108CHAR_BIT
     109CHAR_MAX
     110CHAR_MIN
     111INT_MAX
     112INT_MIN
     113LONG_MAX
     114LONG_MIN
     115MB_LEN_MAX
     116SCHAR_MAX
     117SCHAR_MIN
     118SHRT_MAX
     119SHRT_MIN
     120UCHAR_MAX
     121UINT_MAX
     122ULONG_MAX
     123USHRT_MAX
     124@end example
     125
     126@subsection Minimum Values
     127
     128@example
     129_POSIX_AIO_LISTIO_MAX
     130_POSIX_AIO_MAX
     131_POSIX_ARG_MAX
     132_POSIX_CHILD_MAX
     133_POSIX_DELAYTIMER_MAX
     134_POSIX_LINK_MAX
     135_POSIX_LOGIN_NAME_MAX
     136_POSIX_MAX_CANON
     137_POSIX_MAX_INPUT
     138_POSIX_MQ_OPEN_MAX
     139_POSIX_MQ_PRIO_MAX
     140_POSIX_NAME_MAX
     141_POSIX_NGROUPS_MAX
     142_POSIX_OPEN_MAX
     143_POSIX_PATH_MAX
     144_POSIX_PIPE_BUF
     145_POSIX_RTSIG_MAX
     146_POSIX_SEM_NSEMS_MAX
     147_POSIX_SEM_VALUE_MAX
     148_POSIX_SIGQUEUE_MAX
     149_POSIX_SSIZE_MAX
     150_POSIX_STREAM_MAX
     151_POSIX_THREAD_DESTRUCTOR_ITERATIONS
     152_POSIX_THREAD_KEYS_MAX
     153_POSIX_THREAD_THREADS_MAX
     154_POSIX_TTY_NAME_MAX
     155_POSIX_TIME_MAX
     156_POSIX_TZNAME_MAX
     157@end example
     158
     159@subsection Run-Time Increasable Values
     160
     161@example
     162_POSIX_NGROUPS_MAX
     163@end example
     164
     165@subsection Run-Time Invariant Values (Possible Indeterminate)
     166
     167@example
     168AIO_LISTIO_MAX
     169AIO_MAX
     170AIO_PRIO_DELTA_MAX
     171ARG_MAX
     172CHILD_MAX
     173DELAYTIMER_MAX
     174LOGIN_NAME_MAX
     175MQ_OPEN_MAX
     176OPEN_MAX
     177PAGESIZE
     178PTHREAD_DESTRUCTOR_ITERATIONS
     179PTHREAD_KEYS_MAX
     180PTHREAD_STACK_MIN
     181PTHJREAD_THREADS_MAX
     182RTSIG_MAX
     183SEM_NSEMS_MAX
     184SEM_VALUE_MAX
     185SIGQUEUE_MAX
     186STREAM_MAX
     187TIMER_MAX
     188TTY_NAME_MAX
     189TZNAME_MAX
     190@end example
     191
     192@subsection Pathname Variable Values
     193
     194@example
     195LINK_MAX
     196MAX_CANON
     197MAX_INPUT
     198NAME_MAX
     199PATH_MAX
     200PIPE_BUF
     201@end example
     202
     203@subsection Invariant Values
     204
     205@example
     206SSIZE_MAX
     207@end example
     208
     209@subsection Maximum Values
     210
     211@example
     212_POSIX_CLOCKRES_MIN
     213@end example
     214
    51215@section Symbolic Constants
    52216
     217@subsection Symbolic Constants for the @code{access} Function
     218
     219@example
     220R_OK
     221W_OK
     222X_OK
     223F_OK
     224@end example
     225
     226@subsection Symbolic Constants for the @code{lseek} Function
     227
     228@example
     229SEEK_SET
     230SEEK_CUR
     231SEEK_END
     232@end example
     233
     234@subsection Compile-Time Symbolic Constants for Portability Specifications
     235
     236@example
     237_POSIX_ASYNCHRONOUS_IO
     238_POSIX_FSYNC
     239_POSIX_JOB_CONTROL
     240_POSIX_MAPPED_FILES
     241_POSIX_MEMLOCK
     242_POSIX_MEMLOCK_RANGE
     243_POSIX_MEMORY_PROTECTION
     244_POSIX_MESSAGE_PASSING
     245_POSIX_PRIORITIZED_IO
     246_POSIX_PRIORITY_SCHEDULING
     247_POSIX_REALTIME_SIGNALS
     248_POSIX_SAVED_IDS
     249_POSIX_SEMAPHORES
     250_POSIX_SHARED_MEMORY_OBJECTS
     251_POSIX_SYNCHRONIZED_IO
     252_POSIX_THREADS
     253_POSIX_THREAD_ATTR_STACKADDR
     254_POSIX_THREAD_ATTR_STACKSIZE
     255_POSIX_THREAD_PRIORITY_SCHEDULING
     256_POSIX_THREAD_PRIO_INHERIT
     257_POSIX_THREAD_PRIO_CEILING
     258_POSIX_THREAD_PROCESS_SHARED
     259_POSIX_THREAD_SAFE_FUNCTIONS
     260_POSIX_TIMERS
     261_POSIX_VERSION
     262@end example
     263
     264@subsection Execution-Time Symbolic Constants for Portability Specifications
     265
     266@example
     267@end example
  • doc/posix1003.1/ch08.t

    r6984a19 rc78be42  
    105105puts(), Function, Implemented
    106106remove(), Function, Implemented
    107 rename(), Function, Implemented
    108107rewind(), Function, Implemented
    109108scanf(), Function, Implemented
     
    115114ungetc(), Function, Implemented
    116115@end example
     116
     117NOTE: @code{rename} is also included in another section.  @ref{Rename a File}.
    117118
    118119ANSI C Section 4.10 --- General Utilities
     
    131132abort(), Function, Implemented
    132133exit(), Function, Implemented
    133 getenv(), Function, Implemented
    134134bsearch(), Function, Implemented
    135135qsort(), Function, Implemented
    136136@end example
     137
     138NOTE: @code{getenv} is also included in another section. 
     139@ref{Environment Access}.
    137140
    138141ANSI C Section 4.11 --- String Handling
     
    158161
    159162@example
    160 time(), Function, Implemented
    161163asctime(), Function, Implemented
    162164ctime(), Function, Implemented
     
    169171NOTE: RTEMS has no notion of time zones.
    170172
     173NOTE: @code{time} is also included in another section. 
     174@ref{Get System Time}.
     175
    171176@subsection Extensions to Time Functions
    172177
  • doc/posix1003.1/summarize

    r6984a19 rc78be42  
    5454  echo
    5555
     56  # functions
     57
    5658  functions_total=`wc2 "()" $*`
    5759  functions_implemented=`   wc3 "()" "Implemented" $*`
     
    6769     ${functions_untested}`
    6870
     71  # data types
     72
    6973  datatypes_total=`wc2 "Type," $*`
    7074  datatypes_implemented=`   wc3 "Type," "Implemented" $*`
     
    7983     ${datatypes_partial}       ${datatypes_dummy} \
    8084     ${datatypes_untested}`
     85
     86  # feature flags
     87
     88  features_total=`wc2 "Feature Flag," $*`
     89  features_implemented=`   wc3 "Feature Flag," "Implemented" $*`
     90  features_unimplemented=` wc3 "Feature Flag," "Unimplemented" $*`
     91  features_unmplementable=`wc3 "Feature Flag," "Unimplementable" $*`
     92  features_partial=`       wc3 "Feature Flag," "Partial Implementation" $*`
     93  features_dummy=`         wc3 "Feature Flag," "Dummy Implementation" $*`
     94  features_untested=`      wc3 "Feature Flag," "Untested Implementation" $*`
     95
     96  features_sum=`addit ${features_implemented} \
     97     ${features_unimplemented} ${features_unmplementable} \
     98     ${features_partial}       ${features_dummy} \
     99     ${features_untested}`
     100
     101  # constants
     102
     103  constants_total=`wc2 "Constant," $*`
     104  constants_implemented=`   wc3 "Constant," "Implemented" $*`
     105  constants_unimplemented=` wc3 "Constant," "Unimplemented" $*`
     106  constants_unmplementable=`wc3 "Constant," "Unimplementable" $*`
     107  constants_partial=`       wc3 "Constant," "Partial Implementation" $*`
     108  constants_dummy=`         wc3 "Constant," "Dummy Implementation" $*`
     109  constants_untested=`      wc3 "Constant," "Untested Implementation" $*`
     110
     111  constants_sum=`addit ${constants_implemented} \
     112     ${constants_unimplemented} ${constants_unmplementable} \
     113     ${constants_partial}       ${constants_dummy} \
     114     ${constants_untested}`
     115
     116  # Now print the reports
    81117
    82118  echo "@example"
     
    92128  echo
    93129  if [ ${functions_sum} -ne ${functions_total} ] ; then
    94     echo "@sp"
    95     echo "@center{@b{FUNCTION COUNTS DO NOT ADD UP!!}}"
    96     echo "@sp"
     130    echo "@sp 1"
     131    echo "@center @b{FUNCTION COUNTS DO NOT ADD UP!!}}"
     132    echo "@sp 1"
    97133  fi
    98134
     
    109145  echo
    110146  if [ ${datatypes_sum} -ne ${datatypes_total} ] ; then
    111     echo "@sp"
    112     echo "@center{@b{DATA TYPE COUNTS DO NOT ADD UP!!}}"
    113     echo "@sp"
     147    echo "@sp 1"
     148    echo "@center @b{DATA TYPE COUNTS DO NOT ADD UP!!}"
     149    echo "@sp 1"
     150  fi
     151
     152  echo "@example"
     153  echo "Feature Flags:"
     154  echo "    Total Number    : ${features_total}"
     155  echo "    Implemented     : ${features_implemented}"
     156  echo "    Unimplemented   : ${features_unimplemented}"
     157  echo "    Unimplementable : ${features_unmplementable}"
     158  echo "    Partial         : ${features_partial}"
     159  echo "    Dummy           : ${features_dummy}"
     160  echo "    Untested        : ${features_untested}"
     161  echo "@end example"
     162  echo
     163  if [ ${features_sum} -ne ${features_total} ] ; then
     164    echo "@sp 1"
     165    echo "@center @b{FEATURE FLAG COUNTS DO NOT ADD UP!!}"
     166    echo "@sp 1"
     167  fi
     168
     169  echo "@example"
     170  echo "Constants:"
     171  echo "    Total Number    : ${constants_total}"
     172  echo "    Implemented     : ${constants_implemented}"
     173  echo "    Unimplemented   : ${constants_unimplemented}"
     174  echo "    Unimplementable : ${constants_unmplementable}"
     175  echo "    Partial         : ${constants_partial}"
     176  echo "    Dummy           : ${constants_dummy}"
     177  echo "    Untested        : ${constants_untested}"
     178  echo "@end example"
     179  echo
     180  if [ ${constants_sum} -ne ${constants_total} ] ; then
     181    echo "@sp 1"
     182    echo "@center @b{CONSTANT COUNTS DO NOT ADD UP!!}"
     183    echo "@sp 1"
    114184  fi
    115185}
Note: See TracChangeset for help on using the changeset viewer.