view target-utils/libprintf/puts.c @ 95:3670e7768ab6

target-utils/libc: strlen optimized assembly implementation added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 31 Oct 2016 22:14:38 +0000
parents e7502631a0f9
children
line wrap: on
line source

void
puts(s)
	char *s;
{
	int c;

	while (c = *s++)
		putchar(c);
	putchar('\n');
}