SIMPLE SOLUTIONS

STRMOVE(3PUB) - Linux man page online | Library functions

Make a copy of a string, handling overlapping strings.

Chapter
C Programmer's Manual
STRMOVE(3pub) C Programmer's Manual STRMOVE(3pub)

NAME

strmove - make a copy of a string, handling overlapping strings

SYNOPSIS

#include <publib.h> char *strmove(char *tgt, const char *src);

DESCRIPTION

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.

SEE ALSO

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

AUTHOR

Lars Wirzenius (@helsinki.fi)
Publib C Programmer's Manual STRMOVE(3pub)
This manual Reference Other manuals
strmove(3pub) referred by
refer to memcpy(3) | memmove(3) | publib(3pub) | strcpy(3)
Download raw manual
Main page C Programmer's Manual (+138) Publib (+138) № 3 (+68044)
Go top