shithub: scc

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