shithub: scc

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