xref: /csrg-svn/usr.bin/window/wwputs.c (revision 18728)
113929Sedward #ifndef lint
2*18728Sedward static char sccsid[] = "@(#)wwputs.c	3.4 04/24/85";
313929Sedward #endif
413929Sedward 
5*18728Sedward /*
6*18728Sedward  * Copyright (c) 1983 Regents of the University of California,
7*18728Sedward  * All rights reserved.  Redistribution permitted subject to
8*18728Sedward  * the terms of the Berkeley Software License Agreement.
9*18728Sedward  */
10*18728Sedward 
1113929Sedward #include "ww.h"
1213929Sedward 
1313929Sedward wwputs(s, w)
1413962Sedward register char *s;
1513962Sedward struct ww *w;
1613929Sedward {
1713962Sedward 	register char *p = s;
1813962Sedward 
1913962Sedward 	while (*p++)
2013962Sedward 		;
2116112Sedward 	(void) wwwrite(w, s, p - s - 1);
2213929Sedward }
23