Convert file descriptors to generic streams

This commit is contained in:
2026-06-18 21:46:18 +03:00
parent bcf2e5bac6
commit 9761e3e870
20 changed files with 150 additions and 79 deletions
+8
View File
@@ -1,3 +1,11 @@
#pragma once
#include <stdint.h>
#define NUL 0 // TODO Fix VSCode thinking `NULL` conflicts with some other definition.
typedef uint64_t exit_code_t;
#define EXIT_CODE_OK 0
#define EXIT_CODE_NOT_FOUND ((uint64_t)-2)
#define EXIT_CODE_GENERAL_FAILURE ((uint64_t)-1)