shithub: scc

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