xref: /csrg-svn/lib/libc/stdio/puts.c (revision 22141)
1*22141Smckusick #ifndef lint
2*22141Smckusick static char sccsid[] = "@(#)puts.c	5.1 (Berkeley) 06/05/85";
3*22141Smckusick #endif not lint
4*22141Smckusick 
52027Swnj #include	<stdio.h>
62027Swnj 
72027Swnj puts(s)
82027Swnj register char *s;
92027Swnj {
102027Swnj 	register c;
112027Swnj 
122027Swnj 	while (c = *s++)
132027Swnj 		putchar(c);
142027Swnj 	return(putchar('\n'));
152027Swnj }
16