shithub: scc

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