shithub: riscv

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