shithub: scc

ref: 2699bac1e5869e2ee92f588d8c91b3a7d19fbaf0
dir: /lib/c/puts.c/

View raw version
#include <stdio.h>
#undef puts

int
puts(const char *str)
{
	int ch;

	while (ch = *str++)
		putchar(ch);
	return putchar('\n');
}