shithub: scc

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