shithub: scc

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