shithub: scc

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