diff options
author | quou <quou@disroot.org> | 2024-12-28 19:03:56 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-28 19:03:56 +1100 |
commit | 7d8c72feb8041a6757a9dacb4e9d8017a689bec4 (patch) | |
tree | 95bcd40f12c2eef3640bee5ee032705db774f230 /qstd/memory.h | |
parent | d7a511e6a4cea46e1de05f868e7eb81ebdee7b80 (diff) |
replace memset
Diffstat (limited to 'qstd/memory.h')
-rw-r--r-- | qstd/memory.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |