shithub: scc

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