shithub: scc

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