xref: /csrg-svn/usr.bin/window/wwputs.c (revision 42954)
118728Sedward /*
233514Sbostic  * Copyright (c) 1983 Regents of the University of California.
333514Sbostic  * All rights reserved.
433514Sbostic  *
5*42954Sbostic  * This code is derived from software contributed to Berkeley by
6*42954Sbostic  * Edward Wang at The University of California, Berkeley.
7*42954Sbostic  *
842835Sbostic  * %sccs.include.redist.c%
918728Sedward  */
1018728Sedward 
1133514Sbostic #ifndef lint
12*42954Sbostic static char sccsid[] = "@(#)wwputs.c	3.8 (Berkeley) 06/06/90";
1333514Sbostic #endif /* not lint */
1433514Sbostic 
1513929Sedward #include "ww.h"
1613929Sedward 
1713929Sedward wwputs(s, w)
1813962Sedward register char *s;
1913962Sedward struct ww *w;
2013929Sedward {
2113962Sedward 	register char *p = s;
2213962Sedward 
2313962Sedward 	while (*p++)
2413962Sedward 		;
2516112Sedward 	(void) wwwrite(w, s, p - s - 1);
2613929Sedward }
27