This commit is contained in:
2026-04-13 19:08:35 +08:00
parent 775a2f435d
commit 4beaed4ba3
15 changed files with 718 additions and 35 deletions

View File

@@ -22,6 +22,8 @@ void ush_init_state(ush_state *sh) {
sh->cmd_ok = 0ULL;
sh->cmd_fail = 0ULL;
sh->cmd_unknown = 0ULL;
sh->exit_requested = 0;
sh->exit_code = 0ULL;
}
u64 ush_strlen(const char *str) {
@@ -270,4 +272,4 @@ void ush_print_kv_hex(const char *label, u64 value) {
ush_write(": ");
ush_write_hex_u64(value);
ush_write_char('\n');
}
}