shithub: scc

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