SIMPLE SOLUTIONS

STRCHANGE(3PUB) - man page online | library functions

Replace beginning of string with beginning of another string.

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

NAME

strchange - 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);

DESCRIPTION

strchange will replace changelen characters from the beginning of str with newlen charac‐ ters from the beginning of new. The rest of str will moved appropriately.

RETURN VALUE

strchange will return its first argument.

SEE ALSO

publib(3), strcpy(3)

AUTHOR

Lars Wirzenius (@helsinki.fi)
Publib C Programmer's Manual STRCHANGE(3pub)
This manual Reference Other manuals
strchange(3pub) referred by
refer to publib(3pub) | strcpy(3)