Replace beginning of string with beginning of another string
#include <publib.h> char *strchange(char *str, size_t changelen, const char *new, size_t newlen);
strchange will replace changelen characters from the beginning of str with newlen characters from the beginning of new. The rest of str will moved appropriately.
strchange will return its first argument.
publib(3), strcpy(3)
Lars Wirzenius ([email protected])