memmove(tp->lb, p, len);
memcpy(tp->lb, p, len);
text_init(sp, p, len, total_len)	SCR *sp;	const char *p;	size_t len, total_len;{	TEXT *tp;	CALLOC(sp, tp, TEXT *, 1, sizeof(TEXT));	if (tp == NULL)		return (NULL);	/* ANSI C doesn't define a call to malloc(3) for 0 bytes. */	if ((tp->lb_len = total_len) != 0) {		MALLOC(sp, tp->lb, CHAR_T *, tp->lb_len);		if (tp->lb == NULL) {			free(tp);			return (NULL);		}		if (p != NULL && len != 0)			memmove(tp->lb, p, len);	}	tp->len = len;	return (tp);}