std1.0.0-beta-7 SafeC docs

std :: str

Function std::str_ncat

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

int str_ncat([]char dst, const &char src, unsigned long n)

Append at most n bytes of src to the string in dst, within dst.len, and NUL-terminate. Returns 1 when those bytes fit, 0 when truncated.