strmove
make a copy of a string, handling overlapping strings
- Provided by: publib-dev (Version: 0.40-3build1)
- Source: publib
- Report a bug
make a copy of a string, handling overlapping strings
#include <publib.h> char *strmove(char *tgt, const char *src);
strmove copies the string src to tgt, just like strcpy(3), but handles overlapping moves correctly (cf. memcpy(3) vs. memmove(3)).
strmove returns tgt.
Lars Wirzenius (lars.wirzenius@helsinki.fi)