xref: /csrg-svn/lib/libc/stdio/puts.c (revision 22141)
1 #ifndef lint
2 static char sccsid[] = "@(#)puts.c	5.1 (Berkeley) 06/05/85";
3 #endif not lint
4 
5 #include	<stdio.h>
6 
7 puts(s)
8 register char *s;
9 {
10 	register c;
11 
12 	while (c = *s++)
13 		putchar(c);
14 	return(putchar('\n'));
15 }
16