shithub: riscv

ref: 12ccc63ec3d72d1ef5b591c7f50534ac3b1e890b
dir: /sys/src/libstdio/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;
}