shithub: scc

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