Commit | Line | Data |
---|---|---|
60de5df9 | 1 | /* |
46e9ea25 KB |
2 | * Copyright (c) 1983 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
3dd3a9e5 KB |
5 | * This code is derived from software contributed to Berkeley by |
6 | * Edward Wang at The University of California, Berkeley. | |
7 | * | |
87f529ec | 8 | * %sccs.include.redist.c% |
60de5df9 EW |
9 | */ |
10 | ||
46e9ea25 | 11 | #ifndef lint |
3dd3a9e5 | 12 | static char sccsid[] = "@(#)wwputs.c 3.8 (Berkeley) %G%"; |
46e9ea25 KB |
13 | #endif /* not lint */ |
14 | ||
ff1ae98e EW |
15 | #include "ww.h" |
16 | ||
17 | wwputs(s, w) | |
4711df8b EW |
18 | register char *s; |
19 | struct ww *w; | |
ff1ae98e | 20 | { |
4711df8b EW |
21 | register char *p = s; |
22 | ||
23 | while (*p++) | |
24 | ; | |
b1189050 | 25 | (void) wwwrite(w, s, p - s - 1); |
ff1ae98e | 26 | } |