shithub: scc

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