shithub: riscv

ref: 17f7f6be4e1a316c0f5f26ff70e047aece4de2bc
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;
}