summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-18 18:15:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-18 18:15:01 +0000
commit7331714cf96cef835dd5bfd2ab29961cccdd1899 (patch)
tree05f93fdbf927996c6a4b4af201cd0b311d105805 /doc/posix1003.1
parentFirst attempt at adding constants and feature flags (diff)
downloadrtems-7331714cf96cef835dd5bfd2ab29961cccdd1899.tar.bz2
Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.
Diffstat (limited to 'doc/posix1003.1')
-rw-r--r--doc/posix1003.1/Makefile4
-rw-r--r--doc/posix1003.1/ch02.t224
-rw-r--r--doc/posix1003.1/ch03.t57
-rw-r--r--doc/posix1003.1/ch04.t53
-rw-r--r--doc/posix1003.1/ch05.t63
-rw-r--r--doc/posix1003.1/ch06.t39
-rw-r--r--doc/posix1003.1/ch07.t122
-rw-r--r--doc/posix1003.1/ch08.t20
-rw-r--r--doc/posix1003.1/ch10.t37
-rw-r--r--doc/posix1003.1/ch11.t5
-rw-r--r--doc/posix1003.1/ch12.t12
-rw-r--r--doc/posix1003.1/ch13.t16
-rw-r--r--doc/posix1003.1/ch14.t7
-rw-r--r--doc/posix1003.1/ch15.t2
-rw-r--r--doc/posix1003.1/ch16.t3
-rw-r--r--doc/posix1003.1/ch18.t11
-rwxr-xr-xdoc/posix1003.1/summarize5
17 files changed, 554 insertions, 126 deletions
diff --git a/doc/posix1003.1/Makefile b/doc/posix1003.1/Makefile
index 1510910dae..b10631e6c3 100644
--- a/doc/posix1003.1/Makefile
+++ b/doc/posix1003.1/Makefile
@@ -49,8 +49,10 @@ dv: dvi
view: ps
$(GHOSTVIEW) $(PROJECT).ps
+# run texi2dvi twice to generate the xref's properly.
$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
+ $(TEXI2DVI) -v $(PROJECT).texi
+ texi2dvi -v $(PROJECT).texi
ch01.texi: ch01.t
$(BMENU) -c -p "Preface" \
diff --git a/doc/posix1003.1/ch02.t b/doc/posix1003.1/ch02.t
index 6643b89392..df18b5f2ce 100644
--- a/doc/posix1003.1/ch02.t
+++ b/doc/posix1003.1/ch02.t
@@ -94,6 +94,10 @@ NOTE: time_t is not listed in this section but is used by many functions.
@subsection Symbols From the C Standard
+@example
+NULL, Constant,
+@end example
+
@subsection POSIX.1 Symbols
@example
@@ -105,111 +109,111 @@ _POSIX_C_SOURCE, Feature Flag,
@section C Language Limits
@example
-CHAR_BIT
-CHAR_MAX
-CHAR_MIN
-INT_MAX
-INT_MIN
-LONG_MAX
-LONG_MIN
-MB_LEN_MAX
-SCHAR_MAX
-SCHAR_MIN
-SHRT_MAX
-SHRT_MIN
-UCHAR_MAX
-UINT_MAX
-ULONG_MAX
-USHRT_MAX
+CHAR_BIT, Constant,
+CHAR_MAX, Constant,
+CHAR_MIN, Constant,
+INT_MAX, Constant,
+INT_MIN, Constant,
+LONG_MAX, Constant,
+LONG_MIN, Constant,
+MB_LEN_MAX, Constant,
+SCHAR_MAX, Constant,
+SCHAR_MIN, Constant,
+SHRT_MAX, Constant,
+SHRT_MIN, Constant,
+UCHAR_MAX, Constant,
+UINT_MAX, Constant,
+ULONG_MAX, Constant,
+USHRT_MAX, Constant,
@end example
@subsection Minimum Values
@example
-_POSIX_AIO_LISTIO_MAX
-_POSIX_AIO_MAX
-_POSIX_ARG_MAX
-_POSIX_CHILD_MAX
-_POSIX_DELAYTIMER_MAX
-_POSIX_LINK_MAX
-_POSIX_LOGIN_NAME_MAX
-_POSIX_MAX_CANON
-_POSIX_MAX_INPUT
-_POSIX_MQ_OPEN_MAX
-_POSIX_MQ_PRIO_MAX
-_POSIX_NAME_MAX
-_POSIX_NGROUPS_MAX
-_POSIX_OPEN_MAX
-_POSIX_PATH_MAX
-_POSIX_PIPE_BUF
-_POSIX_RTSIG_MAX
-_POSIX_SEM_NSEMS_MAX
-_POSIX_SEM_VALUE_MAX
-_POSIX_SIGQUEUE_MAX
-_POSIX_SSIZE_MAX
-_POSIX_STREAM_MAX
-_POSIX_THREAD_DESTRUCTOR_ITERATIONS
-_POSIX_THREAD_KEYS_MAX
-_POSIX_THREAD_THREADS_MAX
-_POSIX_TTY_NAME_MAX
-_POSIX_TIME_MAX
-_POSIX_TZNAME_MAX
+_POSIX_AIO_LISTIO_MAX, Constant,
+_POSIX_AIO_MAX, Constant,
+_POSIX_ARG_MAX, Constant,
+_POSIX_CHILD_MAX, Constant,
+_POSIX_DELAYTIMER_MAX, Constant,
+_POSIX_LINK_MAX, Constant,
+_POSIX_LOGIN_NAME_MAX, Constant,
+_POSIX_MAX_CANON, Constant,
+_POSIX_MAX_INPUT, Constant,
+_POSIX_MQ_OPEN_MAX, Constant,
+_POSIX_MQ_PRIO_MAX, Constant,
+_POSIX_NAME_MAX, Constant,
+_POSIX_NGROUPS_MAX, Constant,
+_POSIX_OPEN_MAX, Constant,
+_POSIX_PATH_MAX, Constant,
+_POSIX_PIPE_BUF, Constant,
+_POSIX_RTSIG_MAX, Constant,
+_POSIX_SEM_NSEMS_MAX, Constant,
+_POSIX_SEM_VALUE_MAX, Constant,
+_POSIX_SIGQUEUE_MAX, Constant,
+_POSIX_SSIZE_MAX, Constant,
+_POSIX_STREAM_MAX, Constant,
+_POSIX_THREAD_DESTRUCTOR_ITERATIONS, Constant,
+_POSIX_THREAD_KEYS_MAX, Constant,
+_POSIX_THREAD_THREADS_MAX, Constant,
+_POSIX_TTY_NAME_MAX, Constant,
+_POSIX_TIME_MAX, Constant,
+_POSIX_TZNAME_MAX, Constant,
@end example
@subsection Run-Time Increasable Values
@example
-_POSIX_NGROUPS_MAX
+_POSIX_NGROUPS_MAX, Constant,
@end example
@subsection Run-Time Invariant Values (Possible Indeterminate)
@example
-AIO_LISTIO_MAX
-AIO_MAX
-AIO_PRIO_DELTA_MAX
-ARG_MAX
-CHILD_MAX
-DELAYTIMER_MAX
-LOGIN_NAME_MAX
-MQ_OPEN_MAX
-OPEN_MAX
-PAGESIZE
-PTHREAD_DESTRUCTOR_ITERATIONS
-PTHREAD_KEYS_MAX
-PTHREAD_STACK_MIN
-PTHJREAD_THREADS_MAX
-RTSIG_MAX
-SEM_NSEMS_MAX
-SEM_VALUE_MAX
-SIGQUEUE_MAX
-STREAM_MAX
-TIMER_MAX
-TTY_NAME_MAX
-TZNAME_MAX
+AIO_LISTIO_MAX, Constant,
+AIO_MAX, Constant,
+AIO_PRIO_DELTA_MAX, Constant,
+ARG_MAX, Constant,
+CHILD_MAX, Constant,
+DELAYTIMER_MAX, Constant,
+LOGIN_NAME_MAX, Constant,
+MQ_OPEN_MAX, Constant,
+OPEN_MAX, Constant,
+PAGESIZE, Constant,
+PTHREAD_DESTRUCTOR_ITERATIONS, Constant,
+PTHREAD_KEYS_MAX, Constant,
+PTHREAD_STACK_MIN, Constant,
+PTHJREAD_THREADS_MAX, Constant,
+RTSIG_MAX, Constant,
+SEM_NSEMS_MAX, Constant,
+SEM_VALUE_MAX, Constant,
+SIGQUEUE_MAX, Constant,
+STREAM_MAX, Constant,
+TIMER_MAX, Constant,
+TTY_NAME_MAX, Constant,
+TZNAME_MAX, Constant,
@end example
@subsection Pathname Variable Values
@example
-LINK_MAX
-MAX_CANON
-MAX_INPUT
-NAME_MAX
-PATH_MAX
-PIPE_BUF
+LINK_MAX, Constant,
+MAX_CANON, Constant,
+MAX_INPUT, Constant,
+NAME_MAX, Constant,
+PATH_MAX, Constant,
+PIPE_BUF, Constant,
@end example
@subsection Invariant Values
@example
-SSIZE_MAX
+SSIZE_MAX, Constant,
@end example
@subsection Maximum Values
@example
-_POSIX_CLOCKRES_MIN
+_POSIX_CLOCKRES_MIN, Constant,
@end example
@section Symbolic Constants
@@ -217,51 +221,57 @@ _POSIX_CLOCKRES_MIN
@subsection Symbolic Constants for the @code{access} Function
@example
-R_OK
-W_OK
-X_OK
-F_OK
+R_OK, Constant,
+W_OK, Constant,
+X_OK, Constant,
+F_OK, Constant,
@end example
@subsection Symbolic Constants for the @code{lseek} Function
@example
-SEEK_SET
-SEEK_CUR
-SEEK_END
+SEEK_SET, Constant,
+SEEK_CUR, Constant,
+SEEK_END, Constant,
@end example
@subsection Compile-Time Symbolic Constants for Portability Specifications
@example
-_POSIX_ASYNCHRONOUS_IO
-_POSIX_FSYNC
-_POSIX_JOB_CONTROL
-_POSIX_MAPPED_FILES
-_POSIX_MEMLOCK
-_POSIX_MEMLOCK_RANGE
-_POSIX_MEMORY_PROTECTION
-_POSIX_MESSAGE_PASSING
-_POSIX_PRIORITIZED_IO
-_POSIX_PRIORITY_SCHEDULING
-_POSIX_REALTIME_SIGNALS
-_POSIX_SAVED_IDS
-_POSIX_SEMAPHORES
-_POSIX_SHARED_MEMORY_OBJECTS
-_POSIX_SYNCHRONIZED_IO
-_POSIX_THREADS
-_POSIX_THREAD_ATTR_STACKADDR
-_POSIX_THREAD_ATTR_STACKSIZE
-_POSIX_THREAD_PRIORITY_SCHEDULING
-_POSIX_THREAD_PRIO_INHERIT
-_POSIX_THREAD_PRIO_CEILING
-_POSIX_THREAD_PROCESS_SHARED
-_POSIX_THREAD_SAFE_FUNCTIONS
-_POSIX_TIMERS
-_POSIX_VERSION
+_POSIX_ASYNCHRONOUS_IO, Feature Flag,
+_POSIX_FSYNC, Feature Flag,
+_POSIX_JOB_CONTROL, Feature Flag,
+_POSIX_MAPPED_FILES, Feature Flag,
+_POSIX_MEMLOCK, Feature Flag,
+_POSIX_MEMLOCK_RANGE, Feature Flag,
+_POSIX_MEMORY_PROTECTION, Feature Flag,
+_POSIX_MESSAGE_PASSING, Feature Flag,
+_POSIX_PRIORITIZED_IO, Feature Flag,
+_POSIX_PRIORITY_SCHEDULING, Feature Flag,
+_POSIX_REALTIME_SIGNALS, Feature Flag,
+_POSIX_SAVED_IDS, Feature Flag,
+_POSIX_SEMAPHORES, Feature Flag,
+_POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
+_POSIX_SYNCHRONIZED_IO, Feature Flag,
+_POSIX_THREADS, Feature Flag,
+_POSIX_THREAD_ATTR_STACKADDR, Feature Flag,
+_POSIX_THREAD_ATTR_STACKSIZE, Feature Flag,
+_POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
+_POSIX_THREAD_PRIO_INHERIT, Feature Flag,
+_POSIX_THREAD_PRIO_CEILING, Feature Flag,
+_POSIX_THREAD_PROCESS_SHARED, Feature Flag,
+_POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
+_POSIX_TIMERS, Feature Flag,
+_POSIX_VERSION, Feature Flag,
@end example
@subsection Execution-Time Symbolic Constants for Portability Specifications
@example
+_POSIX_ASYNC_IO, Feature Flag,
+_POSIX_CHOWN_RESTRICTED, Feature Flag,
+_POSIX_NO_TRUNC, Feature Flag,
+_POSIX_PRIO_IO, Feature Flag,
+_POSIX_SYNC_IO, Feature Flag,
+_POSIX_VDISABLE, Feature Flag,
@end example
diff --git a/doc/posix1003.1/ch03.t b/doc/posix1003.1/ch03.t
index 9a573c4a74..b48f5818b3 100644
--- a/doc/posix1003.1/ch03.t
+++ b/doc/posix1003.1/ch03.t
@@ -41,6 +41,14 @@ pthread_atfork(), Function, Unimplementable, Requires Processes
@example
wait(), Function, Unimplementable, Requires Processes
waitpid(), Function, Unimplementable, Requires Processes
+WNOHANG, Constant, Unimplementable, Requires Processes
+WUNTRACED, Constant, Unimplementable, Requires Processes
+WIFEXITED(), Function, Unimplementable, Requires Processes
+WEXITSTATUS(), Function, Unimplementable, Requires Processes
+WIFSIGNALED(), Function, Unimplementable, Requires Processes
+WTERMSIG(), Function, Unimplementable, Requires Processes
+WIFSTOPPED(), Function, Unimplementable, Requires Processes
+WSTOPSIG(), Function, Unimplementable, Requires Processes
@end example
@subsection Terminate a Process
@@ -53,11 +61,55 @@ _exit(), Function, Unimplemented
@subsection Signal Concepts
+@subsubsection Signal Names
+
@example
sigset_t, Type, Implemented
+SIG_DFL, Constant,
+SIG_IGN, Constant,
+SIGABRT, Constant,
+SIGALRM, Constant,
+SIGFPE, Constant,
+SIGHUP, Constant,
+SIGILL, Constant,
+SIGINT, Constant,
+SIGKILL, Constant,
+SIGPIPE, Constant,
+SIGQUIT, Constant,
+SIGSEGV, Constant,
+SIGTERM, Constant,
+SIGUSR1, Constant,
+SIGUSR2, Constant,
+SIGCHLD, Constant,
+SIGCONT, Constant,
+SIGSTOP, Constant,
+SIGTSTP, Constant,
+SIGTTIN, Constant,
+SIGTTOU, Constant,
+SIGBUS, Constant,
+SIGRTMIN, Constant,
+SIGRTMAX, Constant,
+@end example
+
+@subsubsection Signal Generation and Delivery
+
+@example
struct sigevent, Type, Implemented
union sigval, Type, Implemented
+SIGEV_NONE, Constant,
+SIGEV_SIGNAL, Constant,
+SIGEV_THREAD, Constant,
+@end example
+
+@subsubsection Signal Actions
+
+@example
siginfo_t, Type, Implemented
+SI_USER, Constant,
+SI_QUEUE, Constant,
+SI_TIMER, Constant,
+SI_ASYNCIO, Constant,
+SI_MESGQ, Constant,
@end example
@subsection Send a Signal to a Process
@@ -81,6 +133,8 @@ sigismember(), Function, Implemented
@example
sigaction(), Function, Implemented
sigaction, Type, Implemented
+SA_NOCLDSTOP, Constant,
+SA_SIGINFO, Constant,
@end example
@subsection Examine and Change Blocked Signals
@@ -88,6 +142,9 @@ sigaction, Type, Implemented
@example
pthread_sigmask(), Function, Implemented
sigprocmask(), Function, Implemented
+SIG_BLOCK, Constant,
+SIG_UNBLOCK, Constant,
+SIG_SETMASK, Constant,
@end example
@subsection Examine Pending Signals
diff --git a/doc/posix1003.1/ch04.t b/doc/posix1003.1/ch04.t
index 2ec3db3ea0..adff11ae23 100644
--- a/doc/posix1003.1/ch04.t
+++ b/doc/posix1003.1/ch04.t
@@ -125,4 +125,57 @@ isatty(), Function, Partial Implementation
@example
sysconf(), Function, Not Implemented
+_SC_AIO_LISTIO_MAX, Constant,
+_SC_AIO_MAX, Constant,
+_SC_AIO_PRIO_DELTA_MAX, Constant,
+_SC_ARG_MAX, Constant,
+_SC_CHILD_MAX, Constant,
+_SC_CLK_TCK, Constant,
+_SC_DELAYTIMER_MAX, Constant,
+_SC_GETGR_R_SIZE_MAX, Constant,
+_SC_GETPW_R_SIZE_MAX, Constant,
+_SC_LOGIN_NAME_MAX, Constant,
+_SC_MQ_OPEN_MAX, Constant,
+_SC_MQ_PRIO_MAX, Constant,
+_SC_NGROUPS_MAX, Constant,
+_SC_OPEN_MAX, Constant,
+_SC_PAGESIZE, Constant,
+_SC_RTSIG_MAX, Constant,
+_SC_SEM_NSEMS_MAX, Constant,
+_SC_SEM_VALUE_MAX, Constant,
+_SC_SIGQUEUE_MAX, Constant,
+_SC_STREAM_MAX, Constant,
+_SC_THREAD_DESTRUCTOR_ITERATIONS, Constant,
+_SC_THREAD_KEYS_MAX, Constant,
+_SC_THREAD_STACK_MIN, Constant,
+_SC_THREAD_THREADS_MAX, Constant,
+_SC_TIMER_MAX, Constant,
+_SC_TTY_NAME_MAX, Constant,
+_SC_TZNAME_MAX, Constant,
+_SC_ASYNCHRONOUS_IO, Constant,
+_SC_FSYNC, Constant,
+_SC_JOB_CONROL, Constant,
+_SC_MAPPED_FILES, Constant,
+_SC_MEMLOCK, Constant,
+_SC_MEMLOCK_RANGE, Constant,
+_SC_MEMORY_PROTECTION, Constant,
+_SC_MESSAGE_PASSING, Constant,
+_SC_PRIORITIZED_IO, Constant,
+_SC_PRIORITY_SCHEDULING, Constant,
+_SC_REALTIME_SIGNALS, Constant,
+_SC_SAVED_IDS, Constant,
+_SC_SEMAPHORES, Constant,
+_SC_SHARED_MEMORY_OBJECTS, Constant,
+_SC_SYNCHRONIZED_IO, Constant,
+_SC_TIMERS, Constant,
+_SC_THREADS, Constant,
+_SC_THREAD_ATTR_STACKADDR, Constant,
+_SC_THREAD_ATTR_STACKSIZE, Constant,
+_SC_THREAD_PRIORITY_SCHEDULING, Constant,
+_SC_THREAD_PRIO_INHERIT, Constant,
+_SC_THREAD_PRIO_PROTECT, Constant,
+_SC_THREAD_PROCESS_SHARED, Constant,
+_SC_THREAD_SAFE_FUNCTIONS, Constant,
+_SC_VERSION, Constant,
+_CLK_TCK, Constant,
@end example
diff --git a/doc/posix1003.1/ch05.t b/doc/posix1003.1/ch05.t
index e47ae03240..8531a68f1b 100644
--- a/doc/posix1003.1/ch05.t
+++ b/doc/posix1003.1/ch05.t
@@ -43,6 +43,18 @@ getcwd(), Function, Untested Implementation, assumes directory services
@example
open(), Function, Implemented, requires rework for directory services
+O_RDONLY, Constant,
+O_WRONLY, Constant,
+O_RDWR, Constant,
+O_APPEND, Constant,
+O_CREAT, Constant,
+O_DSYNC, Constant,
+O_EXCL, Constant,
+O_NOCTTY, Constant,
+O_NONBLOCK, Constant,
+O_RSYNC, Constant,
+O_SYNC, Constant,
+O_TRUNC, Constant,
@end example
@subsection Create a New File or Rewrite an Existing One
@@ -105,6 +117,40 @@ rename(), Function, Untested Implementation, assumes link/unlink
struct stat, Type, Untested Implementation
@end example
+@subsubsection <sys/stat.h> File Types
+
+@example
+S_ISDIR(), Function,
+S_ISCHR(), Function,
+S_ISBLK(), Function,
+S_ISREG(), Function,
+S_ISFIFO(), Function,
+S_TYPEISMQ(), Function,
+S_TYPEISSEM(), Function,
+S_TYPEISSHM(), Function,
+@end example
+
+@subsubsection <sys/stat.h> File Modes
+
+@example
+S_IRWXU, Constant,
+S_IRUSR, Constant,
+S_IWUSR, Constant,
+S_IXUSR, Constant,
+S_IRWXG, Constant,
+S_IRGRP, Constant,
+S_IWGRP, Constant,
+S_IXGRP, Constant,
+S_IRWXO, Constant,
+S_IROTH, Constant,
+S_IWOTH, Constant,
+S_IXOTH, Constant,
+S_ISUID, Constant,
+S_ISGID, Constant,
+@end example
+
+@subsubsection <sys/stat.h> Time Entries
+
@subsection Get File Status
@example
@@ -146,10 +192,23 @@ ftruncate(), Function, Unimplemented
@section Configurable Pathname Variable
+@subsection Get Configurable Pathname Variables
+
@example
pathconf(), Function, Unimplemented
fpathconf(), Function, Unimplemented
+_PC_LINK_MAX, Constant,
+_PC_MAX_CANON, Constant,
+_PC_MAX_INPUT, Constant,
+_PC_MAX_INPUT, Constant,
+_PC_NAME_MAX, Constant,
+_PC_PATH_MAX, Constant,
+_PC_PIPE_BUF, Constant,
+_PC_ASYNC_IO, Constant,
+_PC_CHOWN_RESTRICTED, Constant,
+_PC_NO_TRUNC, Constant,
+_PC_PRIO_IO, Constant,
+_PC_SYNC_IO, Constant,
+_PC_VDISABLE, Constant,
@end example
-@subsection Get Configurable Pathname Variables
-
diff --git a/doc/posix1003.1/ch06.t b/doc/posix1003.1/ch06.t
index 1015eee54c..48222b7a73 100644
--- a/doc/posix1003.1/ch06.t
+++ b/doc/posix1003.1/ch06.t
@@ -56,12 +56,34 @@ write(), Function, Partial Implementation
@example
struct flock, Type, Unimplemented
fcntl(), Function, Unimplemented
-@end example
+F_DUPFD, Constant,
+F_GETFD, Constant,
+F_GETLK, Constant,
+F_SETFD, Constant,
+F_GETFL, Constant,
+F_SETFL, Constant,
+F_SETLK, Constant,
+F_SETLKW, Constant,
+FD_CLOEXEC, Constant,
+F_RDLCK, Constant,
+F_UNLCK, Constant,
+F_WRLCK, Constant,
+O_ACCMODE, Constant,
+@end example
+
+NOTE: A number of constants are used by both @code{open} and @code{fcntl}.
+@code{O_CREAT}, @code{O_EXCL}, @code{O_NOCTTY}, @code{O_TRUNC},
+@code{O_APPEND}, @code{O_DSYNC}, @code{O_NONBLOCK}, @code{O_RSYNC},
+@code{O_SYNC}, @code{O_RDONLY}, @code{O_RDWR}, and @code{O_WRONLY}
+are also included in another section. @xref{Open a File}.
@subsection Reposition Read/Write File Offset
@example
lseek(), Function, Partial Implementation
+SEEK_SET, Constant,
+SEEK_CUR, Constant,
+SEEK_END, Constant,
@end example
@section File Synchronization
@@ -82,10 +104,25 @@ fdatasync(), Function, Unimplemented
@subsection Data Definitions for Asynchronous Input and Output
+@subsubsection Asynchronous I/O Control Block
+
@example
struct aiocb, Type, Untested Implementation
@end example
+@subsubsection Asynchronous I/O Manifest Constants
+
+@example
+AIO_CANCELED, Constant,
+AIO_NOTCANCELED, Constant,
+AIO_ALLDONE, Constant,
+LIO_WAIT, Constant,
+LIO_NOWAIT, Constant,
+LIO_READ, Constant,
+LIO_WRITE, Constant,
+LIO_NOP, Constant,
+@end example
+
@subsection Asynchronous Read
@example
diff --git a/doc/posix1003.1/ch07.t b/doc/posix1003.1/ch07.t
index 1e6f797ce2..ef9236c33d 100644
--- a/doc/posix1003.1/ch07.t
+++ b/doc/posix1003.1/ch07.t
@@ -26,10 +26,36 @@
@subsubsection Noncanonical Mode Input Processing
+@lowersections
+
+@subsubsection Case A --- MIN > 0 and TIME > 0
+
+@subsubsection Case B --- MIN > 0 and TIME = 0
+
+@subsubsection Case C --- MIN = 0 and TIME > 0
+
+@subsubsection Case D --- MIN = 0 and TIME = 0
+
+@raisesections
+
@subsubsection Writing Data and Output Processing
@subsubsection Special Characters
+@example
+INTR, Constant,
+QUIT, Constant,
+ERASE, Constant,
+KILL, Constant,
+EOF, Constant,
+NL, Constant,
+EOL, Constant,
+SUSP, Constant,
+STOP, Constant,
+START, Constant,
+CR, Constant,
+@end example
+
@subsubsection Modem Disconnect
@subsubsection Closing a Terminal Device File
@@ -39,21 +65,100 @@
@subsubsection @code{termios} Structure
@example
+tcflag_t, Type,
+cc_t, Type,
struct termios, Type, Partial Implementation
@end example
@subsubsection Input Modes
+@example
+BRKINT, Constant,
+ICRNL, Constant,
+IGNBREAK, Constant,
+IGNCR, Constant,
+IGNPAR, Constant,
+INLCR, Constant,
+INPCK, Constant,
+ISTRIP, Constant,
+IXOFF, Constant,
+IXON, Constant,
+PARMRK, Constant,
+@end example
+
@subsubsection Output Modes
+@example
+OPOST, Constant,
+@end example
+
@subsubsection Control Modes
+@example
+CLOCKAL, Constant,
+CREAD, Constant,
+CSIZE, Constant,
+CS5, Constant,
+CS6, Constant,
+CS7, Constant,
+CS8, Constant,
+CSTOPB, Constant,
+HUPCL, Constant,
+PARENB, Constant,
+PARODD, Constant,
+@end example
+
@subsubsection Local Modes
+@example
+ECHO, Constant,
+ECHOE, Constant,
+ECHOK, Constant,
+ECHONL, Constant,
+ICANON, Constant,
+IEXTEN, Constant,
+ISIG, Constant,
+NOFLSH, Constant,
+TOSTOP, Constant,
+@end example
+
@subsubsection Special Control Characters
+@example
+VEOF, Constant,
+VEOL, Constant,
+VERASE, Constant,
+VINTR, Constant,
+VKILL, Constant,
+VQUIT, Constant,
+VSUSP, Constant,
+VSTART, Constant,
+VSTOP, Constant,
+VMIN, Constant,
+VTIME, Constant,
+@end example
+
@subsection Baud Rate Values
+@example
+B0, Constant,
+B50, Constant,
+B75, Constant,
+B110, Constant,
+B134, Constant,
+B150, Constant,
+B200, Constant,
+B300, Constant,
+B600, Constant,
+B1200, Constant,
+B1800, Constant,
+B2400, Constant,
+B4800, Constant,
+B9600, Constant,
+B19200, Constant,
+B38400, Constant,
+@end example
+
@subsubsection Baud Rate Functions
@example
@@ -61,18 +166,15 @@ cfgetospeed(), Function, Unimplemented
cfsetospeed(), Function, Unimplemented
cfgetispeed(), Function, Unimplemented
cfsetispeed(), Function, Unimplemented
+TCIFLUSH, Constant,
+TCOFLUSH, Constant,
+TCIOFLUSH, Constant,
+TCOOFF, Constant,
+TCOON, Constant,
+TCIOOFF, Constant,
+TCIOON, Constant,
@end example
-@subsubsection Synopsis
-
-@subsubsection Description
-
-@subsubsection Returns
-
-@subsubsection Errors
-
-@subsubsection Cross-References
-
@section General Terminal Interface Control Functions
@subsection Get and Set State
diff --git a/doc/posix1003.1/ch08.t b/doc/posix1003.1/ch08.t
index 825694cc91..5a986410aa 100644
--- a/doc/posix1003.1/ch08.t
+++ b/doc/posix1003.1/ch08.t
@@ -173,16 +173,36 @@ NOTE: RTEMS has no notion of time zones.
NOTE: @code{time} is also included in another section.
@ref{Get System Time}.
+From Surrounding Text
+
+@example
+EXIT_SUCCESS, Constant,
+EXIT_FAILURE, Constant,
+@end example
+
+
@subsection Extensions to Time Functions
@subsection Extensions to @code{setlocale} Function
+@example
+LC_CTYPE, Constant,
+LC_COLLATE, Constant,
+LC_TIME, Constant,
+LC_NUMERIC, Constant,
+LC_MONETARY, Constant,
+LC_ALL, Constant,
+@end example
+
@section C Language Input/Output Functions
@subsection Map a Stream Pointer to a File Descriptor
@example
fileno(), Function, Implemented
+STDIN_FILENO, Constant,
+STDOUT_FILENO, Constant,
+STDERR_FILENO, Constant,
@end example
@subsection Open a Stream on a File Descriptor
diff --git a/doc/posix1003.1/ch10.t b/doc/posix1003.1/ch10.t
index 42417952be..5fb63b5643 100644
--- a/doc/posix1003.1/ch10.t
+++ b/doc/posix1003.1/ch10.t
@@ -14,6 +14,31 @@
@example
tar format, Type, Unimplemented
+TMAGIC, Constant,
+TMAGLEN, Constant,
+TVERSION, Constant,
+TVERSLEN, Constant,
+REGTYPE, Constant,
+AREGTYPE, Constant,
+LNKTYPE, Constant,
+SYMTYPE, Constant,
+CHRTYPE, Constant,
+BLKTYPE, Constant,
+DIRTYPE, Constant,
+FIFOTYPE, Constant,
+CONTTYPE, Constant,
+TSUID, Constant,
+TSGID, Constant,
+TSVTX, Constant,
+TUREAD, Constant,
+TUWRITE, Constant,
+TUEXEC, Constant,
+TGREAD, Constant,
+TGWRITE, Constant,
+TGEXEC, Constant,
+TOREAD, Constant,
+TOWRITE, Constant,
+TOEXEC, Constant,
@end example
NOTE: Requires <tar.h> which is not in newlib.
@@ -22,6 +47,18 @@ NOTE: Requires <tar.h> which is not in newlib.
@example
cpio format, Type, Unimplemented
+C_IRUSER, Constant,
+C_IWUSER, Constant,
+C_IXUSER, Constant,
+C_IRGRP, Constant,
+C_IWGRP, Constant,
+C_IXGRP, Constant,
+C_IROTH, Constant,
+C_IWOTH, Constant,
+C_IXOTH, Constant,
+C_ISUID, Constant,
+C_ISGID, Constant,
+C_ISVTX, Constant,
@end example
NOTE: POSIX does not require a header file or structure. RedHat Linux
diff --git a/doc/posix1003.1/ch11.t b/doc/posix1003.1/ch11.t
index b323d91e0f..59e678b094 100644
--- a/doc/posix1003.1/ch11.t
+++ b/doc/posix1003.1/ch11.t
@@ -20,6 +20,7 @@ sem_t, Type, Untested Implementation
@example
sem_init(), Function, Untested Implementation
+SEM_FAILED, Constant,
@end example
@subsection Destroy an Unnamed Semaphore
@@ -74,6 +75,8 @@ pthread_mutexattr_init(), Function, Implemented
pthread_mutexattr_destroy(), Function, Implemented
pthread_mutexattr_getpshared(), Function, Implemented
pthread_mutexattr_setpshared(), Function, Implemented
+PTHREAD_PROCESS_SHARED, Constant,
+PTHREAD_PROCESS_PRIVATE, Constant,
@end example
@subsection Initializing and Destroying a Mutex
@@ -81,6 +84,7 @@ pthread_mutexattr_setpshared(), Function, Implemented
@example
pthread_mutex_init(), Function, Implemented
pthread_mutex_destroy(), Function, Implemented
+PTHREAD_MUTEX_INITIALIZER, Constant,
@end example
@subsection Locking and Unlocking a Mutex
@@ -107,6 +111,7 @@ pthread_condattr_setpshared(), Function, Implemented
@example
pthread_cond_init(), Function, Implemented
pthread_cond_destroy(), Function, Implemented
+PTHREAD_COND_INITIALIZER, Constant,
@end example
@subsection Broadcasting and Signaling a Condition
diff --git a/doc/posix1003.1/ch12.t b/doc/posix1003.1/ch12.t
index c4327a60f1..aa5c12d809 100644
--- a/doc/posix1003.1/ch12.t
+++ b/doc/posix1003.1/ch12.t
@@ -15,6 +15,8 @@
@example
mlockall(), Function, Unimplemented
munlockall(), Function, Unimplemented
+MCL_CURRENT, Constant,
+MCL_FUTURE, Constant,
@end example
@subsection Lock/Unlock a Rand of Process Address Space
@@ -30,6 +32,13 @@ munlock(), Function, Unimplemented
@example
mmap(), Function, Unimplemented
+PROT_READ, Constant,
+PROT_WRITE, Constant,
+PROT_EXEC, Constant,
+PROT_NONE, Constant,
+MAP_SHARED, Constant,
+MAP_PRIVATE, Constant,
+MAP_FIXED, Constant,
@end example
@subsection Unmap Previously Mapped Addresses
@@ -48,6 +57,9 @@ mprotect(), Function, Unimplemented
@example
msync(), Function, Unimplemented, Unimplemented
+MS_ASYNC, Constant,
+MS_SYNC, Constant,
+MS_INVALIDATE, Constant,
@end example
@section Shared Memory Functions
diff --git a/doc/posix1003.1/ch13.t b/doc/posix1003.1/ch13.t
index 6e20b4bc47..2b4ef49e06 100644
--- a/doc/posix1003.1/ch13.t
+++ b/doc/posix1003.1/ch13.t
@@ -16,6 +16,12 @@ struct sched_param, Type, Implemented
@section Scheduling Policies
+@example
+SCHED_FIFO, Constant,
+SCHED_RR, Constant,
+SCHED_OTHER, Constant,
+@end example
+
@subsection SCHED_FIFO
@subsection SCHED_RR
@@ -66,6 +72,11 @@ sched_get_priority_rr_get_interval(), Function, Implemented
@subsection Thread Scheduling Attributes
+@example
+PTHREAD_SCOPE_PROCESS, Constant,
+PTHREAD_SCOPE_SYSTEM, Constant,
+@end example
+
@subsection Scheduling Contention Scope
@subsection Scheduling Allocation Domain
@@ -85,6 +96,8 @@ pthread_attr_setschedpolicy(), Function, Implemented
pthread_attr_getschedpolicy(), Function, Implemented
pthread_attr_setschedparam(), Function, Implemented
pthread_attr_getschedparam(), Function, Implemented
+PTHREAD_INHERIT_SCHED, Constant,
+PTHREAD_EXPLICIT_SCHED, Constant,
@end example
@subsection Dynamic Thread Scheduling Parameters Access
@@ -103,6 +116,9 @@ pthread_mutexattr_setprotocol(), Function, Implemented
pthread_mutexattr_getprotocol(), Function, Implemented
pthread_mutexattr_setprioceiling(), Function, Implemented
pthread_mutexattr_getprioceiling(), Function, Implemented
+PTHREAD_PRIO_NONE, Constant,
+PTHREAD_PRIO_INHERIT, Constant,
+PTHREAD_PRIO_PROTECT, Constant,
@end example
@subsection Change the Priority Ceiling of a Mutex
diff --git a/doc/posix1003.1/ch14.t b/doc/posix1003.1/ch14.t
index 0e66df53e6..763f84c57a 100644
--- a/doc/posix1003.1/ch14.t
+++ b/doc/posix1003.1/ch14.t
@@ -26,7 +26,12 @@ clockid_t, Type, Implemented
timerid_t, Type, Implemented
@end example
-@subsection Manifest Constants
+@subsection Timer Event Notification Manifest Constants
+
+@example
+CLOCK_REALTIME, Constant,
+TIMER_ABSTIME, Constant,
+@end example
@section Clock and Timer Functions
diff --git a/doc/posix1003.1/ch15.t b/doc/posix1003.1/ch15.t
index f5b69513cc..297b4b2cf7 100644
--- a/doc/posix1003.1/ch15.t
+++ b/doc/posix1003.1/ch15.t
@@ -34,7 +34,7 @@ mq_close(), Function, Untested Implementation
@subsection Remove a Message Queue
@example
-mq_unlink, Function, Untested Implementation
+mq_unlink(), Function, Untested Implementation
@end example
@subsection Send a Message to a Message Queue
diff --git a/doc/posix1003.1/ch16.t b/doc/posix1003.1/ch16.t
index e4f28d0e4e..46af606432 100644
--- a/doc/posix1003.1/ch16.t
+++ b/doc/posix1003.1/ch16.t
@@ -23,6 +23,8 @@ pthread_attr_setstackaddr(), Function, Implemented
pthread_attr_getstackaddr(), Function, Implemented
pthread_attr_setdetachstate(), Function, Implemented
pthread_attr_getdetachstate(), Function, Implemented
+PTHREAD_CREATE_JOINABLE, Constant,
+PTHREAD_CREATE_DETACHED, Constant,
@end example
@subsection Thread Creation
@@ -65,5 +67,6 @@ pthread_equal(), Function, Implemented
@example
pthread_once(), Function, Implemented
+PTHREAD_ONCE_INIT, Constant,
@end example
diff --git a/doc/posix1003.1/ch18.t b/doc/posix1003.1/ch18.t
index ef682d0b7c..7f81a8ea8d 100644
--- a/doc/posix1003.1/ch18.t
+++ b/doc/posix1003.1/ch18.t
@@ -12,10 +12,21 @@
@subsection Cancelability States
+@example
+PTHREAD_CANCEL_DISABLE, Constant,
+PTHREAD_CANCEL_ENABLE, Constant,
+PTHREAD_CANCEL_ASYNCHRONOUS, Constant,
+PTHREAD_CANCEL_DEFERRED, Constant,
+@end example
+
@subsection Cancellation Points
@subsection Thread Cancellation Cleanup Handlers
+@example
+PTHREAD_CANCELED, Constant,
+@end example
+
@subsection Async-Cancel Safety
@section Thread Cancellation Functions
diff --git a/doc/posix1003.1/summarize b/doc/posix1003.1/summarize
index 7432f85c2f..fc8631894a 100755
--- a/doc/posix1003.1/summarize
+++ b/doc/posix1003.1/summarize
@@ -41,8 +41,6 @@ addit()
summarize_chapter()
{
echo
- # takes at least 3.0 inches for each generated section
- echo "@need 3000"
if [ $# -eq 1 ] ; then
grep "^@chapter" $1 | \
sed -e "s/^.chapter/@section/" \
@@ -128,7 +126,7 @@ summarize_chapter()
echo
if [ ${functions_sum} -ne ${functions_total} ] ; then
echo "@sp 1"
- echo "@center @b{FUNCTION COUNTS DO NOT ADD UP!!}}"
+ echo "@center @b{FUNCTION COUNTS DO NOT ADD UP!!}"
echo "@sp 1"
fi
@@ -191,6 +189,7 @@ chapters="ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t \
for chapter in ${chapters}
do
summarize_chapter $chapter
+ echo "@page"
done
# now generate the overall summary