shithub: scc

ref: cfa8ebf26de75bc6c13ba4a872e1c9e4f12de3c4
dir: /src/libc/stdio/fputs.c/

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

int
fputs(const char * restrict bp, FILE * restrict fp)
{
	int r, ch;

	while (ch = *bp++)
		r = putc(ch, fp);
	return r;
}