shithub: scc

ref: e60e6dc4ded6d0ff578610e39d7a8c8a6f62f3ed
dir: /src/libc/stdio/fputs.c/

View raw version
#include <stdio.h>

#undef fputs

int
fputs(const char * restrict bp, FILE * restrict fp)
{
	int r, ch;

	while ((ch = *bp++) != '\0')
		r = putc(ch, fp);

	return r;
}