shithub: scc

ref: 8eae1d47c3534a3ce3902a8895e80dbb4f90375a
dir: /lib/c/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;
}