shithub: scc

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