shithub: scc

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