shithub: scc

ref: 982b9ee2e2f44065a4e05fb2d485acc172b845f0
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');
}