STRCHANGE(3) C Programmer's Manual STRCHANGE(3)NAMEstrchange - replace beginning of string with beginning of another
string
SYNOPSIS
#include <publib.h>
char *strchange(char *str, size_t changelen,
const char *new, size_t newlen);
DESCRIPTIONstrchange will replace changelen characters from the beginning of str
with newlen characters from the beginning of new. The rest of str will
moved appropriately.
RETURN VALUEstrchange will return its first argument.
SEE ALSOpublib(3), strcpy(3)AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi)
Publib C Programmer's Manual STRCHANGE(3)