pstrcat

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

pstrcat, pstrncat - extend a string

SYNOPSIS

#include <pstring.h>

char *pstrcat (pool, char *str, const char *ending);
char *pstrncat (pool, char *str, const char *ending, size_t n);

DESCRIPTION

str is a string allocated in pool. Append ending to str, reallocating str if necessary.
Because str may be reallocated (ie. moved) you must invoke this function as follows:
str = pstrcat (pool, str, ending);
pstrncat is similar to pstrcat except that only the first n characters of ending are appended to str.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13