xref: /dragonfly/bin/sh/pregenerated/builtins.c (revision a31d3627)
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 	wordexp2cmd,
52 };
53 
54 const unsigned char builtincmd[] = {
55 	"\007\000builtin"
56 	"\005\001alias"
57 	"\002\002bg"
58 	"\004\003bind"
59 	"\005\204break"
60 	"\010\204continue"
61 	"\002\005cd"
62 	"\005\005chdir"
63 	"\007\006command"
64 	"\001\207."
65 	"\004\010echo"
66 	"\004\211eval"
67 	"\004\212exec"
68 	"\004\213exit"
69 	"\003\014let"
70 	"\006\215export"
71 	"\010\215readonly"
72 	"\005\016false"
73 	"\002\017fg"
74 	"\007\020getopts"
75 	"\004\021hash"
76 	"\002\022fc"
77 	"\005\023jobid"
78 	"\004\024jobs"
79 	"\004\025kill"
80 	"\005\026local"
81 	"\006\027printf"
82 	"\003\030pwd"
83 	"\004\031read"
84 	"\006\232return"
85 	"\003\233set"
86 	"\006\034setvar"
87 	"\005\235shift"
88 	"\004\036test"
89 	"\001\036["
90 	"\005\237times"
91 	"\004\240trap"
92 	"\001\241:"
93 	"\004\041true"
94 	"\004\042type"
95 	"\006\043ulimit"
96 	"\005\044umask"
97 	"\007\045unalias"
98 	"\005\246unset"
99 	"\004\047wait"
100 	"\007\050wordexp"
101 	"\010\051wordexp2"
102 };
103