This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / bin / sh / b.c
CommitLineData
15637ed4
RG
1/*
2 * This file was generated by the mkbuiltins program.
3 */
4
78ed81a3 5#ifndef lint
6static char rcsid[] = "b.c,v 1.2 1993/08/02 17:15:45 mycroft Exp";
7#endif /* not lint */
8
15637ed4
RG
9#include "shell.h"
10#include "builtins.h"
11
12int bltincmd();
13int bgcmd();
14int breakcmd();
15int cdcmd();
16int dotcmd();
17int echocmd();
18int evalcmd();
19int execcmd();
20int exitcmd();
21int exportcmd();
22int fgcmd();
23int getoptscmd();
24int hashcmd();
25int jobidcmd();
26int jobscmd();
27int lccmd();
28int localcmd();
29int pwdcmd();
30int readcmd();
31int returncmd();
32int setcmd();
33int setvarcmd();
34int shiftcmd();
35int trapcmd();
36int truecmd();
37int umaskcmd();
38int unsetcmd();
39int waitcmd();
40
41int (*const builtinfunc[])() = {
42 bltincmd,
43 bgcmd,
44 breakcmd,
45 cdcmd,
46 dotcmd,
47 echocmd,
48 evalcmd,
49 execcmd,
50 exitcmd,
51 exportcmd,
52 fgcmd,
53 getoptscmd,
54 hashcmd,
55 jobidcmd,
56 jobscmd,
57 lccmd,
58 localcmd,
59 pwdcmd,
60 readcmd,
61 returncmd,
62 setcmd,
63 setvarcmd,
64 shiftcmd,
65 trapcmd,
66 truecmd,
67 umaskcmd,
68 unsetcmd,
69 waitcmd,
70};
71
72const struct builtincmd builtincmd[] = {
73 "command", 0,
74 "bg", 1,
75 "break", 2,
76 "continue", 2,
77 "cd", 3,
78 "chdir", 3,
79 ".", 4,
80 "echo", 5,
81 "eval", 6,
82 "exec", 7,
83 "exit", 8,
84 "export", 9,
85 "readonly", 9,
86 "fg", 10,
87 "getopts", 11,
88 "hash", 12,
89 "jobid", 13,
90 "jobs", 14,
91 "lc", 15,
92 "local", 16,
93 "pwd", 17,
94 "read", 18,
95 "return", 19,
96 "set", 20,
97 "setvar", 21,
98 "shift", 22,
99 "trap", 23,
100 ":", 24,
101 "true", 24,
102 "umask", 25,
103 "unset", 26,
104 "wait", 27,
105 NULL, 0
106};