shithub: scc

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