read on closed socketpair returns eof
[unix-history] / usr / src / usr.bin / window / wwputs.c
CommitLineData
ff1ae98e 1#ifndef lint
7edc52ec 2static char sccsid[] = "@(#)wwputs.c 3.3 %G%";
ff1ae98e
EW
3#endif
4
5#include "ww.h"
6
7wwputs(s, w)
4711df8b
EW
8register char *s;
9struct ww *w;
ff1ae98e 10{
4711df8b
EW
11 register char *p = s;
12
13 while (*p++)
14 ;
b1189050 15 (void) wwwrite(w, s, p - s - 1);
ff1ae98e 16}