shithub: scc

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