From b557bac23688b304fbab0a766a2e3e93db78f429 Mon Sep 17 00:00:00 2001 From: Test_User Date: Wed, 9 Aug 2023 00:26:14 -0400 Subject: Various improvements, a few more bugs added to fix later --- types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'types.h') diff --git a/types.h b/types.h index af89dd2..2251bcc 100644 --- a/types.h +++ b/types.h @@ -37,4 +37,5 @@ struct string { }; #define STRING(x) (struct string){x, sizeof(x)-1} +#define NULSTR(x) (struct string){x, strlen(x)} #define WRITES(x, y) write(x, y.data, y.len) -- cgit v1.2.3