diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-01 00:39:44 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-01 00:39:44 +0000 |
| commit | 5e94ca9f060d2952ef08913234c500a815f734bf (patch) | |
| tree | 169e6c67289b70753aa76edb818f3b1f63112884 /include/util.h | |
| parent | 54261d62d47624e9ff4724c42aaa05eaf478e606 (diff) | |
refactor
Diffstat (limited to 'include/util.h')
| -rw-r--r-- | include/util.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/util.h b/include/util.h deleted file mode 100644 index bab7738..0000000 --- a/include/util.h +++ /dev/null @@ -1,38 +0,0 @@ -#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" - -#define LOG !(ov4::GLOBAL_DEBUG && verbose) ? (void)0 : ov4::LogVoidify() & std::clog - -namespace ov4 { - -void atomic_print(char *s, bool ignore_wrap = false); -void atomic_print(int x); -void atomic_debug(char *s, bool ignore_wrap = false); -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 {} }; - -constexpr int DECIMAL = 10; -constexpr int LENGTH = 32; - -} |
