puts.c (118B)
1 2 #include <stdio.h> 3 4 int 5 puts(const char *str) 6 { 7 int ch; 8 9 while (ch = *str) 10 putchar(ch); 11 return putchar('\n'); 12 }