shithub: scc

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