STRCHANGE(3pub) | C Programmer's Manual | STRCHANGE(3pub) |
strchange - 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.
Lars Wirzenius (lars.wirzenius@helsinki.fi)
C Programmer's Manual | Publib |