shithub: scc

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