std1.0.0-beta-7 SafeC docs

std :: str

Function std::str_dup

#include <std/str.h> source ยท definition

?&heap char str_dup(const &char s)

Return a heap-allocated NUL-terminated copy of s. Caller must call dealloc().