shithub: scc

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