shithub: scc

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