Commit | Line | Data |
---|---|---|
2ce81398 DS |
1 | #if defined(LIBC_SCCS) && !defined(lint) |
2 | static char sccsid[] = "@(#)puts.c 5.2 (Berkeley) %G%"; | |
3 | #endif LIBC_SCCS and not lint | |
b8f253e8 | 4 | |
76a1433e BJ |
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 | } |