diff options
| author | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-15 18:20:33 +0100 |
|---|---|---|
| committer | Nathan P. Reiner <nathan@nathanreiner.xyz> | 2022-12-15 18:20:33 +0100 |
| commit | 828dd435725ea315abd2ea9875325ee3b17041a9 (patch) | |
| tree | 72d80411d5cecc8758fc87867521374e90caa44d /smash/builtin.h | |
| parent | 7536d000ac9a5188378f2749ecfd7f0ccb437573 (diff) | |
did this while lecture (builtins, parsing, exec and env by stdlib)
Diffstat (limited to 'smash/builtin.h')
| -rw-r--r-- | smash/builtin.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/smash/builtin.h b/smash/builtin.h new file mode 100644 index 0000000..702268f --- /dev/null +++ b/smash/builtin.h @@ -0,0 +1,9 @@ +#ifndef BUILTIN_H +#define BUILTIN_H + +#include "../lib/sys/sizes.h" + +u8 has_builtin_with_name(const char *name); +int run_builtin(const char *name, const char **argv); + +#endif |