shithub: scc

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