1 #if defined(LIBC_SCCS) && !defined(lint) 2 static char sccsid[] = "@(#)puts.c 5.2 (Berkeley) 03/09/86"; 3 #endif LIBC_SCCS and 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