118728Sedward /* 2*33514Sbostic * Copyright (c) 1983 Regents of the University of California. 3*33514Sbostic * All rights reserved. 4*33514Sbostic * 5*33514Sbostic * Redistribution and use in source and binary forms are permitted 6*33514Sbostic * provided that this notice is preserved and that due credit is given 7*33514Sbostic * to the University of California at Berkeley. The name of the University 8*33514Sbostic * may not be used to endorse or promote products derived from this 9*33514Sbostic * software without specific prior written permission. This software 10*33514Sbostic * is provided ``as is'' without express or implied warranty. 1118728Sedward */ 1218728Sedward 13*33514Sbostic #ifndef lint 14*33514Sbostic static char sccsid[] = "@(#)wwputs.c 3.5 (Berkeley) 02/21/88"; 15*33514Sbostic #endif /* not lint */ 16*33514Sbostic 1713929Sedward #include "ww.h" 1813929Sedward 1913929Sedward wwputs(s, w) 2013962Sedward register char *s; 2113962Sedward struct ww *w; 2213929Sedward { 2313962Sedward register char *p = s; 2413962Sedward 2513962Sedward while (*p++) 2613962Sedward ; 2716112Sedward (void) wwwrite(w, s, p - s - 1); 2813929Sedward } 29