mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
Added many new chapters
This commit is contained in:
1 parent
92ef2252b8
commit
832e33c5ec
18 files changed
+3791
-15
No files matched your search
@@ -18,9 +18,12 @@ dirs:
|
||||
|
||||
COMMON_FILES=../common/cpright.texi
|
||||
|
||||
GENERATED_FILES= process.texi procenv.texi files.texi clock.texi \
|
||||
cond.texi key.texi mutex.texi \
|
||||
sched.texi signal.texi thread.texi
|
||||
GENERATED_FILES= \
|
||||
adminiface.texi base.texi cancel.texi clock.texi cond.texi confspace.texi \
|
||||
cspecific.texi device.texi dumpcontrol.texi eventlog.texi files.texi \
|
||||
io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.texi \
|
||||
process.texi sched.texi semaphores.texi signal.texi systemdb.texi \
|
||||
thread.texi
|
||||
|
||||
FILES= posix_users.texi preface.texi \
|
||||
$(COMMON_FILES) $(GENERATED_FILES)
|
||||
@@ -107,3 +110,63 @@ sched.texi: sched.t Makefile
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
io.texi: io.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
device.texi: device.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
cspecific.texi: cspecific.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
semaphores.texi: semaphores.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
memorymgmt.texi: memorymgmt.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
message.texi: message.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
cancel.texi: cancel.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
eventlog.texi: eventlog.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
dumpcontrol.texi: dumpcontrol.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
confspace.texi: confspace.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
adminiface.texi: adminiface.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
systemdb.texi: systemdb.t Makefile
|
||||
$(BMENU) -p "" \
|
||||
-u "Top" \
|
||||
-n "" ${*}.t
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
@c
|
||||
@c COPYRIGHT (c) 1988-1998.
|
||||
@c On-Line Applications Research Corporation (OAR).
|
||||
@c All rights reserved.
|
||||
@c
|
||||
@c $Id$
|
||||
@c
|
||||
|
||||
@chapter Administration Interface Manager
|
||||
|
||||
@section Introduction
|
||||
|
||||
The
|
||||
administration interface manager is ...
|
||||
|
||||
The directives provided by the administration interface manager are:
|
||||
|
||||
@itemize @bullet
|
||||
@item @code{admin_shutdown} -
|
||||
@end itemize
|
||||
|
||||
@section Background
|
||||
|
||||
@section Operations
|
||||
|
||||
@section Directives
|
||||
|
||||
This section details the administration interface manager's directives.
|
||||
A subsection is dedicated to each of this manager's directives
|
||||
and describes the calling sequence, related constants, usage,
|
||||
and status codes.
|
||||
|
||||
@page
|
||||
@subsection admin_shutdown - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int admin_shutdown(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@@ -0,0 +1,141 @@
|
||||
@c
|
||||
@c COPYRIGHT (c) 1988-1998.
|
||||
@c On-Line Applications Research Corporation (OAR).
|
||||
@c All rights reserved.
|
||||
@c
|
||||
@c $Id$
|
||||
@c
|
||||
|
||||
@chapter Thread Cancellation Manager
|
||||
|
||||
@section Introduction
|
||||
|
||||
The
|
||||
thread cancellation manager is ...
|
||||
|
||||
The directives provided by the thread cancellation manager are:
|
||||
|
||||
@itemize @bullet
|
||||
@item @code{pthread_cancel} -
|
||||
@item @code{pthread_setcancelstate} -
|
||||
@item @code{pthread_setcanceltype} -
|
||||
@item @code{pthread_testcancel} -
|
||||
@item @code{pthread_cleanup_push} -
|
||||
@end itemize
|
||||
|
||||
@section Background
|
||||
|
||||
@section Operations
|
||||
|
||||
@section Directives
|
||||
|
||||
This section details the thread cancellation manager's directives.
|
||||
A subsection is dedicated to each of this manager's directives
|
||||
and describes the calling sequence, related constants, usage,
|
||||
and status codes.
|
||||
|
||||
@page
|
||||
@subsection pthread_cancel - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int pthread_cancel(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection pthread_setcancelstate - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int pthread_setcancelstate(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection pthread_setcanceltype - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int pthread_setcanceltype(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection pthread_testcancel - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int pthread_testcancel(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection pthread_cleanup_push - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int pthread_cleanup_push(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,53 @@
|
||||
@c
|
||||
@c COPYRIGHT (c) 1988-1998.
|
||||
@c On-Line Applications Research Corporation (OAR).
|
||||
@c All rights reserved.
|
||||
@c
|
||||
@c $Id$
|
||||
@c
|
||||
|
||||
@chapter Process Dump Control Manager
|
||||
|
||||
@section Introduction
|
||||
|
||||
The
|
||||
process dump control manager is ...
|
||||
|
||||
The directives provided by the process dump control manager are:
|
||||
|
||||
@itemize @bullet
|
||||
@item @code{dump_setpath} -
|
||||
@end itemize
|
||||
|
||||
@section Background
|
||||
|
||||
@section Operations
|
||||
|
||||
@section Directives
|
||||
|
||||
This section details the process dump control manager's directives.
|
||||
A subsection is dedicated to each of this manager's directives
|
||||
and describes the calling sequence, related constants, usage,
|
||||
and status codes.
|
||||
|
||||
@page
|
||||
@subsection dump_setpath - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int dump_setpath(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -4,20 +4,20 @@
|
||||
|
||||
|
||||
# Set this based on which chapter you want to generate a template for.
|
||||
chapter="files"
|
||||
chapter=$1
|
||||
|
||||
case ${chapter} in
|
||||
process)
|
||||
CHAPTER_CAPS="Process Creation and Execution"
|
||||
CHAPTER_LOWER="process creation and execution"
|
||||
ROUTINES="execl execv execle execve execlp execvp pthread_atfork \
|
||||
ROUTINES="fork execl execv execle execve execlp execvp pthread_atfork \
|
||||
wait waitpid _exit"
|
||||
;;
|
||||
procenv)
|
||||
CHAPTER_CAPS="Process Environment"
|
||||
CHAPTER_LOWER="process environment"
|
||||
ROUTINES="getpid getppid getgid getegid setuid setgid getgroups \
|
||||
getlogin getlogin_r getpgrp setsid setpgid uname times \
|
||||
ROUTINES="getpid getppid getuid geteuid getgid getegid setuid setgid \
|
||||
getgroups getlogin getlogin_r getpgrp setsid setpgid uname times \
|
||||
getenv ctermid ttyname ttyname_r isatty sysconf "
|
||||
;;
|
||||
files)
|
||||
@@ -28,6 +28,80 @@ case ${chapter} in
|
||||
rmdir rename stat fstat access chmod fchmod chown \
|
||||
utime ftrunctate pathconf fpathconf"
|
||||
;;
|
||||
io)
|
||||
CHAPTER_CAPS="Input and Output Primitives"
|
||||
CHAPTER_LOWER="input and output primitives"
|
||||
ROUTINES="pipe dup dup2 close read write fcntl lseek fsynch fdatasynch \
|
||||
aio_read aio_write lio_listio aio_error aio_return aio_cancel \
|
||||
aio_suspend aio_fsync"
|
||||
;;
|
||||
device)
|
||||
CHAPTER_CAPS="Device- and Class- Specific Functions"
|
||||
CHAPTER_LOWER="device- and class- specific functions"
|
||||
ROUTINES="cfgetispeed cfgetospeed cfsetispeed cfsetospeed tcgetattr \
|
||||
tcsetattr tcsendbreak tcdrain tcflush tcflow tcgetpgrp tcsetpgrp"
|
||||
;;
|
||||
cspecific)
|
||||
CHAPTER_CAPS="Language-Specific Services for the C Programming Language"
|
||||
CHAPTER_LOWER="language-specific services for the C programming language"
|
||||
ROUTINES="setlocale fileno fdopen flcokfile ftrylockfile funlockfile \
|
||||
getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked \
|
||||
setjmp longjmp sigsetjmp siglongjmp tzset strtok_r asctime_r \
|
||||
ctime_r gmtime_r localtime_r rand_r"
|
||||
;;
|
||||
systemdb)
|
||||
CHAPTER_CAPS="System Databases"
|
||||
CHAPTER_LOWER="system databases"
|
||||
ROUTINES="getgrgid getgrgid_r getgrnam getgrnam_r getpwuid getpwuid_r \
|
||||
getpwnam getpwnam_r"
|
||||
;;
|
||||
semaphores)
|
||||
CHAPTER_CAPS="Semaphores"
|
||||
CHAPTER_LOWER="semaphore"
|
||||
ROUTINES="sem_init sem_destroy sem_open sem_close sem_unlink sem_wait \
|
||||
sem_trywait sem_post sem_getvalue"
|
||||
;;
|
||||
memorymgmt)
|
||||
CHAPTER_CAPS="Memory Management"
|
||||
CHAPTER_LOWER="memory management"
|
||||
ROUTINES="mlockall munlockall mlock munlock mmap munmap mprotect \
|
||||
msync shm_open shm_unlink"
|
||||
;;
|
||||
message)
|
||||
CHAPTER_CAPS="Message Passing"
|
||||
CHAPTER_LOWER="message passing"
|
||||
ROUTINES="mq_open mq_close mq_unlink mq_send mq_receive mq_notify \
|
||||
mq_setattr mq_getattr"
|
||||
;;
|
||||
cancel)
|
||||
CHAPTER_CAPS="Thread Cancellation"
|
||||
CHAPTER_LOWER="thread cancellation"
|
||||
ROUTINES="pthread_cancel pthread_setcancelstate pthread_setcanceltype \
|
||||
pthread_testcancel pthread_cleanup_push"
|
||||
;;
|
||||
eventlog)
|
||||
CHAPTER_CAPS="Event Logging"
|
||||
CHAPTER_LOWER="event logging"
|
||||
ROUTINES="log_write log_open log_read log_notify log_close log_seek \
|
||||
log_severity_before log_facilityemptyset log_facilityfillset \
|
||||
log_facilityaddset log_facilitydelset log_facilityismember"
|
||||
;;
|
||||
dumpcontrol)
|
||||
CHAPTER_CAPS="Process Dump Control"
|
||||
CHAPTER_LOWER="process dump control"
|
||||
ROUTINES="dump_setpath"
|
||||
;;
|
||||
confspace)
|
||||
CHAPTER_CAPS="Configuration Space"
|
||||
CHAPTER_LOWER="configuration space"
|
||||
ROUTINES="cfg_mount cfg_unmount cfg_mknod cfg_get cfg_set cfg_link \
|
||||
cfg_unlink cfg_open cfg_read cfg_children cfg_mark cfg_close"
|
||||
;;
|
||||
adminiface)
|
||||
CHAPTER_CAPS="Administration Interface"
|
||||
CHAPTER_LOWER="administration interface"
|
||||
ROUTINES="admin_shutdown"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown chapter name"
|
||||
exit 1
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -86,15 +86,27 @@ END-INFO-DIR-ENTRY
|
||||
|
||||
@include preface.texi
|
||||
@include process.texi
|
||||
@include signal.texi
|
||||
@include procenv.texi
|
||||
@include files.texi
|
||||
@include thread.texi
|
||||
@include signal.texi
|
||||
@include io.texi
|
||||
@include device.texi
|
||||
@include cspecific.texi
|
||||
@include systemdb.texi
|
||||
@include semaphores.texi
|
||||
@include mutex.texi
|
||||
@include cond.texi
|
||||
@include key.texi
|
||||
@include clock.texi
|
||||
@include memorymgmt.texi
|
||||
@include sched.texi
|
||||
@include clock.texi
|
||||
@include message.texi
|
||||
@include thread.texi
|
||||
@include key.texi
|
||||
@include cancel.texi
|
||||
@include eventlog.texi
|
||||
@include dumpcontrol.texi
|
||||
@include confspace.texi
|
||||
@include adminiface.texi
|
||||
@ifinfo
|
||||
@node Top, Preface, (dir), (dir)
|
||||
@top posix_users_new
|
||||
@@ -104,15 +116,27 @@ This is the online version of the RTEMS POSIX API User's Guide
|
||||
@menu
|
||||
* Preface::
|
||||
* Process Creation and Execution Manager::
|
||||
* Signal Manager::
|
||||
* Process Environment Manager::
|
||||
* Files and Directories Manager::
|
||||
* Thread Manager::
|
||||
* Signal Manager::
|
||||
* Input and Output Primitives Manager::
|
||||
* Device- and Class- Specific Functions Manager::
|
||||
* Language-Specific Services for the C Programming Language Manager::
|
||||
* System Databases Manager::
|
||||
* Semaphores Manager::
|
||||
* Mutex Manager::
|
||||
* Condition Variable Manager::
|
||||
* Key Manager::
|
||||
* Clock Manager::
|
||||
* Memory Management Manager::
|
||||
* Scheduler Manager::
|
||||
* Clock Manager::
|
||||
* Message Passing Manager::
|
||||
* Thread Manager::
|
||||
* Key Manager::
|
||||
* Thread Cancellation Manager::
|
||||
* Event Logging Manager::
|
||||
* Process Dump Control Manager::
|
||||
* Configuration Space Manager::
|
||||
* Administration Interface Manager::
|
||||
* Command and Variable Index::
|
||||
* Concept Index::
|
||||
@end menu
|
||||
|
||||
@@ -18,6 +18,8 @@ The directives provided by the process environment manager are:
|
||||
@itemize @bullet
|
||||
@item @code{getpid} -
|
||||
@item @code{getppid} -
|
||||
@item @code{getuid} -
|
||||
@item @code{geteuid} -
|
||||
@item @code{getgid} -
|
||||
@item @code{getegid} -
|
||||
@item @code{setuid} -
|
||||
@@ -91,6 +93,48 @@ int getppid(
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection getuid - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int getuid(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection geteuid - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int geteuid(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection getgid - XXX
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ process creation and execution manager is ...
|
||||
The directives provided by the process creation and execution manager are:
|
||||
|
||||
@itemize @bullet
|
||||
@item @code{fork} -
|
||||
@item @code{execl} -
|
||||
@item @code{execv} -
|
||||
@item @code{execle} -
|
||||
@@ -39,6 +40,27 @@ A subsection is dedicated to each of this manager's directives
|
||||
and describes the calling sequence, related constants, usage,
|
||||
and status codes.
|
||||
|
||||
@page
|
||||
@subsection fork - XXX
|
||||
|
||||
@subheading CALLING SEQUENCE:
|
||||
|
||||
@ifset is-C
|
||||
@example
|
||||
int fork(
|
||||
);
|
||||
@end example
|
||||
@end ifset
|
||||
|
||||
@ifset is-Ada
|
||||
@end ifset
|
||||
|
||||
@subheading STATUS CODES:
|
||||
|
||||
@subheading DESCRIPTION:
|
||||
|
||||
@subheading NOTES:
|
||||
|
||||
@page
|
||||
@subsection execl - XXX
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user