shithub: scc

ref: 2699bac1e5869e2ee92f588d8c91b3a7d19fbaf0
dir: /lib/c/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;
}