xref: /csrg-svn/usr.bin/window/wwputs.c (revision 62479)
118728Sedward /*
2*62479Sbostic  * Copyright (c) 1983, 1993
3*62479Sbostic  *	The Regents of the University of California.  All rights reserved.
433514Sbostic  *
542954Sbostic  * This code is derived from software contributed to Berkeley by
642954Sbostic  * Edward Wang at The University of California, Berkeley.
742954Sbostic  *
842835Sbostic  * %sccs.include.redist.c%
918728Sedward  */
1018728Sedward 
1133514Sbostic #ifndef lint
12*62479Sbostic static char sccsid[] = "@(#)wwputs.c	8.1 (Berkeley) 06/06/93";
1333514Sbostic #endif /* not lint */
1433514Sbostic 
1513929Sedward #include "ww.h"
1613929Sedward 
wwputs(s,w)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