shithub: scc

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