shithub: scc

ref: 44cc5010e56094acc7cf2a042135c0cd4ca27323
dir: /lib/c/src/fputs.c/

View raw version

#include <stdio.h>

int
fputs(const char * restrict bp, FILE * restrict fp)
{
	int r, ch;

	while (ch = *bp++)
		r = putc(ch, fp);
	return r;
}