source: rtems/doc/new_chapters/gen_section @ aa72f36

4.104.114.84.95
Last change on this file since aa72f36 was 8ced79b3, checked in by Joel Sherrill <joel.sherrill@…>, on 08/01/98 at 16:09:29

New file

  • Property mode set to 100644
File size: 896 bytes
Line 
1format=man
2#format=list
3
4case ${format} in
5  man) 
6    ;;
7  list)
8    echo "@itemize @bullet"
9    ;;
10  *)
11    echo "unknown format -- ${format}"
12    exit 1
13    ;;
14esac
15
16
17while read routine
18do
19  case ${format} in
20    man)
21      echo "@page"
22      echo "@subsection sigaddset"
23      echo ""
24      echo "@subheading CALLING SEQUENCE:"
25      echo ""
26      echo "@example"
27      echo "int ${routine}("
28      echo "@end example"
29      echo ""
30      echo "@subheading STATUS CODES:"
31      echo ""
32      echo "@subheading DESCRIPTION:"
33      echo ""
34      echo "@subheading NOTES:"
35      echo ""
36      ;;
37    list)
38      ;;
39    *)
40      echo "unknown format -- ${format}"
41      exit 1
42      ;;
43  esac
44     
45done <<EOF
46execl
47execv
48execle
49execve
50execlp
51execvp
52EOF
53
54case ${format} in
55  man)
56    ;;
57  list)
58    echo "@end itemize"
59    ;;
60  *)
61    echo "unknown format -- ${format}"
62    exit 1
63    ;;
64esac
65
Note: See TracBrowser for help on using the repository browser.