All pastes #453948 Raw Edit

Something

public c v1 · immutable
·published 2007-04-23 09:47 UTC
rendered paste body
		/* copy of before the name_gen */		strncpy(newbuf, buf, buf - c2);		/* replace name_gen */		strncpy(newbuf + (buf - c2), name_gen, strlen(name_gen));		/* copy after of the name_gen */		strncpy(newbuf + (buf - c2) + strlen(name_gen), buf + (buf - c2), strlen(newbuf - (buf - c2));