shithub: scc

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