cstr_copy

This commit is contained in:
2025-11-13 06:16:57 +05:00
parent af36bab444
commit adaf5cc311
2 changed files with 12 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#include "../std.h"
char* cstr_copy(cstr self);
#define strcat_malloc(STR0, ...) _strcat_malloc(count_args(__VA_ARGS__), STR0, __VA_ARGS__)
char* _strcat_malloc(u64 n, cstr str0, ...);
char* _vstrcat_malloc(u64 n, cstr str0, va_list args);