shithub: scc

ref: 2d455f13954cd94ae98ed346bb7da23d579ad6d7
dir: /lib/c/src/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;
}