shithub: scc

ref: 29c70a1082291f1643b2eff68146385983ceaa76
dir: /lib/c/puts.c/

View raw version

#include <stdio.h>

int
puts(const char *str)
{
	int ch;

	while (ch = *str)
		putchar(ch);
	return putchar('\n');
}