shithub: scc

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