From fc559ef64840fe54c0136f064cbfb2d3c055b692 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 5 Sep 2022 09:07:29 +0200 Subject: Added cstr_append_fmt(). --- docs/cstr_api.md | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/cstr_api.md b/docs/cstr_api.md index 273f4de4..3d9aae85 100644 --- a/docs/cstr_api.md +++ b/docs/cstr_api.md @@ -57,6 +57,7 @@ char* cstr_append(cstr* self, const char* str); char* cstr_append_n(cstr* self, const char* str, size_t n); // append n first bytes of str char* cstr_append_sv(cstr* self, csview str); char* cstr_append_s(cstr* self, cstr str); +int cstr_append_fmt(const char* fmt, ...); // printf() formatting char* cstr_append_uninit(cstr* self, size_t len); // append len uninitialized bytes void cstr_insert(cstr* self, size_t pos, const char* ins); -- cgit v1.2.3