DOKK / manpages / debian 10 / publib-dev / strmove.3pub.en
STRMOVE(3pub) C Programmer's Manual STRMOVE(3pub)

strmove - 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.

publib(3), strcpy(3), memcpy(3), memmove(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)

C Programmer's Manual Publib