shithub: scc

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