|
|
1.1 ! root 1: #if defined(LIBC_SCCS) && !defined(lint) ! 2: static char sccsid[] = "@(#)puts.c 5.2 (Berkeley) 3/9/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: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.