shithub: scc

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