shithub: scc

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