shithub: scc

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