Return to lcmd1.c CVS log | Up to [local] / src / usr.bin / window |
version 1.6, 2001/11/19 19:02:18 | version 1.7, 2003/04/05 01:39:50 | ||
---|---|---|---|
|
|
||
return; | return; | ||
while (a->v_type != V_ERR) { | while (a->v_type != V_ERR) { | ||
if (a->v_type == V_NUM) { | if (a->v_type == V_NUM) { | ||
(void) sprintf(buf, "%d", a->v_num); | (void) snprintf(buf, sizeof(buf), "%d", a->v_num); | ||
(void) write(w->ww_pty, buf, strlen(buf)); | (void) write(w->ww_pty, buf, strlen(buf)); | ||
} else | } else | ||
(void) write(w->ww_pty, a->v_str, strlen(a->v_str)); | (void) write(w->ww_pty, a->v_str, strlen(a->v_str)); |