shithub: scc

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