shithub: scc

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