xref: /csrg-svn/usr.bin/window/wwputs.c (revision 42835)
118728Sedward /*
233514Sbostic  * Copyright (c) 1983 Regents of the University of California.
333514Sbostic  * All rights reserved.
433514Sbostic  *
5*42835Sbostic  * %sccs.include.redist.c%
618728Sedward  */
718728Sedward 
833514Sbostic #ifndef lint
9*42835Sbostic static char sccsid[] = "@(#)wwputs.c	3.7 (Berkeley) 06/02/90";
1033514Sbostic #endif /* not lint */
1133514Sbostic 
1213929Sedward #include "ww.h"
1313929Sedward 
1413929Sedward wwputs(s, w)
1513962Sedward register char *s;
1613962Sedward struct ww *w;
1713929Sedward {
1813962Sedward 	register char *p = s;
1913962Sedward 
2013962Sedward 	while (*p++)
2113962Sedward 		;
2216112Sedward 	(void) wwwrite(w, s, p - s - 1);
2313929Sedward }
24