shithub: scc

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