shithub: scc

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