summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cstr_api.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index 7bebbbfb..a838c7d9 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -23,6 +23,7 @@ cstr cstr_with_capacity(size_t cap);
cstr cstr_with_size(size_t len, char fill); // repeat fill len times
cstr cstr_from_fmt(const char* fmt, ...); // printf() formatting
cstr cstr_clone(cstr s);
+cstr cstr_substr(cstr s, size_t pos, size_t n);
cstr* cstr_take(cstr* self, cstr s); // take the constructed or moved string
cstr cstr_move(cstr* self); // move string to caller, leave empty string