shithub: scc

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