summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-01 16:09:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-01 16:09:29 +0000
commit8ced79b315727726577dfbe2f8e654df6929755c (patch)
treede76a7ce4799f30872137d2f13b6e0af08385a21 /doc
parentRemoved items which are now automatically generated. (diff)
downloadrtems-8ced79b315727726577dfbe2f8e654df6929755c.tar.bz2
New file
Diffstat (limited to 'doc')
-rw-r--r--doc/new_chapters/gen_section65
1 files changed, 65 insertions, 0 deletions
diff --git a/doc/new_chapters/gen_section b/doc/new_chapters/gen_section
new file mode 100644
index 0000000000..596fd07386
--- /dev/null
+++ b/doc/new_chapters/gen_section
@@ -0,0 +1,65 @@
+format=man
+#format=list
+
+case ${format} in
+ man)
+ ;;
+ list)
+ echo "@itemize @bullet"
+ ;;
+ *)
+ echo "unknown format -- ${format}"
+ exit 1
+ ;;
+esac
+
+
+while read routine
+do
+ case ${format} in
+ man)
+ echo "@page"
+ echo "@subsection sigaddset"
+ echo ""
+ echo "@subheading CALLING SEQUENCE:"
+ echo ""
+ echo "@example"
+ echo "int ${routine}("
+ echo "@end example"
+ echo ""
+ echo "@subheading STATUS CODES:"
+ echo ""
+ echo "@subheading DESCRIPTION:"
+ echo ""
+ echo "@subheading NOTES:"
+ echo ""
+ ;;
+ list)
+ ;;
+ *)
+ echo "unknown format -- ${format}"
+ exit 1
+ ;;
+ esac
+
+done <<EOF
+execl
+execv
+execle
+execve
+execlp
+execvp
+EOF
+
+case ${format} in
+ man)
+ ;;
+ list)
+ echo "@end itemize"
+ ;;
+ *)
+ echo "unknown format -- ${format}"
+ exit 1
+ ;;
+esac
+