strmove3pub
Make a copy of a string, handling overlapping strings
Usage
#include <publib.h> char *strmove(char *tgt, const char *src);
Overview
strmove copies the string src to tgt, just like strcpy(3), but handles overlapping moves correctly (cf. memcpy(3) vs. memmove(3)).
Return value
strmove returns tgt.
Releases
16 releases since Debian 1.2 (Rex); the text changed 4 times.