src/stdlib/zstr.c
/* set zstring value to copy of another zstring value */
set zstring value to copy of another zstring value
set zstring value to copy of another zstring value
char *
zs_setz (ZSTR zstr, ZCSTR zsrc)
{
	const char * txt = zsrc ? zsrc->str : "";
	unsigned int tlen = zsrc ? (zsrc->end)-(zsrc->str) : 0;
	DBGCHK(zstr);
	return zs_set_with_len(zstr, txt, tlen);
}
char * zs_setz ( ZSTR zstr , ZCSTR zsrc ) { const char * txt = zsrc ? zsrc -> str : " " ; unsigned int tlen = zsrc ? ( zsrc -> end ) - ( zsrc -> str ) : 0 ; DBGCHK ( zstr ) ; return zs_set_with_len ( zstr , txt , tlen ) ; }
set zstring value to copy of another zstring value
set zstring value to copy of another zstring value