Files
rtems/doc/new_chapters/gen_section
Joel Sherrill 8ced79b315 New file
1998-08-01 16:09:29 +00:00

66 lines
896 B
Plaintext

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