summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cstr_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index 0004eeae..e54b3a4c 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -41,8 +41,8 @@ void cstr_clear(cstr* self);
cstr* cstr_assign(cstr* self, const char* str);
cstr* cstr_assign_n(cstr* self, const char* str, size_t n); // assign n first chars of str
-cstr* cstr_printf(cstr* self, const char* fmt, ...); // printf() formatting
cstr* cstr_copy(cstr* self, cstr s); // cstr_take(self, cstr_clone(s))
+int cstr_printf(cstr* self, const char* fmt, ...); // printf() formatting
cstr* cstr_append(cstr* self, const char* str);
cstr* cstr_append_s(cstr* self, cstr s);