xref: /dragonfly/bin/sh/pregenerated/builtins.c (revision 5a4a4dba)
1 /*
2  * This file was generated by the mkbuiltins program.
3  */
4 
5 #include <stdlib.h>
6 #include "shell.h"
7 #include "builtins.h"
8 
9 int (*const builtinfunc[])(int, char **) = {
10 	bltincmd,
11 	aliascmd,
12 	bgcmd,
13 	bindcmd,
14 	breakcmd,
15 	cdcmd,
16 	commandcmd,
17 	dotcmd,
18 	echocmd,
19 	evalcmd,
20 	execcmd,
21 	exitcmd,
22 	letcmd,
23 	exportcmd,
24 	falsecmd,
25 	fgcmd,
26 	getoptscmd,
27 	hashcmd,
28 	histcmd,
29 	jobidcmd,
30 	jobscmd,
31 	killcmd,
32 	localcmd,
33 	printfcmd,
34 	pwdcmd,
35 	readcmd,
36 	returncmd,
37 	setcmd,
38 	setvarcmd,
39 	shiftcmd,
40 	testcmd,
41 	timescmd,
42 	trapcmd,
43 	truecmd,
44 	typecmd,
45 	ulimitcmd,
46 	umaskcmd,
47 	unaliascmd,
48 	unsetcmd,
49 	waitcmd,
50 	wordexpcmd,
51 };
52 
53 const unsigned char builtincmd[] = {
54 	"\007\000builtin"
55 	"\005\001alias"
56 	"\002\002bg"
57 	"\004\003bind"
58 	"\005\204break"
59 	"\010\204continue"
60 	"\002\005cd"
61 	"\005\005chdir"
62 	"\007\006command"
63 	"\001\207."
64 	"\004\010echo"
65 	"\004\211eval"
66 	"\004\212exec"
67 	"\004\213exit"
68 	"\003\014let"
69 	"\006\215export"
70 	"\010\215readonly"
71 	"\005\016false"
72 	"\002\017fg"
73 	"\007\020getopts"
74 	"\004\021hash"
75 	"\002\022fc"
76 	"\005\023jobid"
77 	"\004\024jobs"
78 	"\004\025kill"
79 	"\005\026local"
80 	"\006\027printf"
81 	"\003\030pwd"
82 	"\004\031read"
83 	"\006\232return"
84 	"\003\233set"
85 	"\006\034setvar"
86 	"\005\235shift"
87 	"\004\036test"
88 	"\001\036["
89 	"\005\237times"
90 	"\004\240trap"
91 	"\001\241:"
92 	"\004\041true"
93 	"\004\042type"
94 	"\006\043ulimit"
95 	"\005\044umask"
96 	"\007\045unalias"
97 	"\005\246unset"
98 	"\004\047wait"
99 	"\007\050wordexp"
100 };
101