shithub: scc

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