shithub: scc

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