shithub: scc

ref: 563eadc3dd2e815868ba9c7fb93a81b2e0309072
dir: /lib/c/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;
}