shithub: scc

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