Lines Matching full:news
2382 char *news, *op;
2384 strdupx(news, cp, ap);
2385 op = news;
2403 return (news);
3450 static void restore_edstate(struct edstate *old, struct edstate *news);
4727 struct edstate *news;
4729 news = alloc(sizeof(struct edstate), APERM);
4730 news->cbuf = alloc(old->cbufsize, APERM);
4731 memcpy(news->cbuf, old->cbuf, old->linelen);
4732 news->cbufsize = old->cbufsize;
4733 news->linelen = old->linelen;
4734 news->cursor = old->cursor;
4735 news->winleft = old->winleft;
4736 return (news);
4740 restore_edstate(struct edstate *news, struct edstate *old)
4742 memcpy(news->cbuf, old->cbuf, old->linelen);
4743 news->linelen = old->linelen;
4744 news->cursor = old->cursor;
4745 news->winleft = old->winleft;