shithub: scc

ref: 3ba625a83430f2616905108eaa93ac8c9009d45a
dir: /src/libc/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;
}