shithub: riscv

ref: a898d31f76b7424aeb65b07350cec3539620d50e
dir: /sys/src/ape/lib/ap/stdio/fputs.c/

View raw version
/*
 * pANS stdio -- fputs
 */
#include "iolib.h"
int fputs(const char *s, FILE *f){
	while(*s) putc(*s++, f);
	return ferror(f)?EOF:0;
}