shithub: scc

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