shithub: scc

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