shithub: scc

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