shithub: riscv

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