shithub: scc

ref: af25b58d05b0700990057ce3f8c853bd43f2ece0
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;
}