From 7d8c72feb8041a6757a9dacb4e9d8017a689bec4 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 28 Dec 2024 19:03:56 +1100 Subject: replace memset --- qstd/memory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qstd/memory.h') diff --git a/qstd/memory.h b/qstd/memory.h index 842cb49..c723131 100644 --- a/qstd/memory.h +++ b/qstd/memory.h @@ -4,6 +4,8 @@ int aligned(const void* p, int a); int align_size(int s, int a); +void zero(void* buf, int size); + typedef struct Arena { char* buf; int size, ptr; -- cgit v1.2.3-54-g00ecf