std1.0.0-beta-7 SafeC docs

std :: str

Function std::str_copy

#include <std/str.h> source · definition

int str_copy([]char dst, const &char src)

Copy src into dst — at most dst.len-1 bytes, then a NUL (when dst is not empty). Returns 1 when all of src fit, 0 when it was truncated.