shithub: scc

ref: 283be1536196f042cb0161a6611baf9b3d8918dc
dir: /src/libc/stdio/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');
}