shithub: scc

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