shithub: scc

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