diff options
| author | _ov4 <ov4@ov4.org> | 2026-08-31 07:29:46 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-08-31 07:29:46 +0000 |
| commit | b404880177a4eb9419a65fdf2536e42df36d524d (patch) | |
| tree | bb7bd6e85414add09297feafa1b67ebcbb796980 /include | |
| parent | 60c1851b4ab92a5687af16ef566486e48813babc (diff) | |
eval
Diffstat (limited to 'include')
| -rw-r--r-- | include/eval.h | 20 | ||||
| -rw-r--r-- | include/util.h | 4 |
2 files changed, 22 insertions, 2 deletions
diff --git a/include/eval.h b/include/eval.h new file mode 100644 index 0000000..6b0d1fa --- /dev/null +++ b/include/eval.h @@ -0,0 +1,20 @@ +#pragma once + +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <string.h> +#include <ctype.h> +#include <signal.h> +#include <sys/types.h> +#include <sys/wait.h> +#include <errno.h> +#include <iostream> +#include <vector> +#include <string> + +#include "global.h" +#include "util.h" +#include "job.h" +#include "ground.h" +#include "parse.h" diff --git a/include/util.h b/include/util.h index dd51fff..bab7738 100644 --- a/include/util.h +++ b/include/util.h @@ -26,6 +26,8 @@ void atomic_debug(int x); bool isnum(char *s); void reverse(char str[], int length); char *itoa(int num, char* str, int base); +int builtin_cmd(char *c_str); +void builtin_command_quit(); constexpr bool GLOBAL_DEBUG = true; struct LogVoidify { void operator&(std::ostream&) const {} }; @@ -33,6 +35,4 @@ struct LogVoidify { void operator&(std::ostream&) const {} }; constexpr int DECIMAL = 10; constexpr int LENGTH = 32; - - } |
