src/stdlib/zstr.c
/* append zero-terminated input to zstring */
append zero-terminated input to zstring
append zero - terminated input to zstring
char *
zs_apps (ZSTR zstr, const char * txt)
{
	int tlen = safelen(txt);
	DBGCHK(zstr);
	zs_reserve(zstr, zs_len(zstr)+tlen+1);
	if (tlen) {
		strcpy(zstr->end, txt);
		zstr->end += tlen;
	}
	return zstr->str;
}
char * zs_apps ( ZSTR zstr , const char * txt ) { int tlen = safelen ( txt ) ; DBGCHK ( zstr ) ; zs_reserve ( zstr , zs_len ( zstr ) + tlen + 1 ) ; if ( tlen ) { strcpy ( zstr -> end , txt ) ; zstr -> end += tlen ; } return zstr -> str ; }
append zero-terminated input to zstring
append zero - terminated input to zstring