shithub: scc

ref: 506996ff232e60e27138297823a4e8ce01668548
dir: /lib/c/puts.c/

View raw version
#include <stdio.h>
#undef puts

int
puts(const char *str)
{
	int ch;

	while (ch = *str++)
		putchar(ch);
	return putchar('\n');
}