ref: 260d1eaaa73a377fb7b0cfc00707ddba35a54ccd dir: /sys/src/libstdio/fputs.c/
/* * pANS stdio -- fputs */ #include "iolib.h" int fputs(const char *s, FILE *f){ while(*s) putc(*s++, f); return ferror(f)?EOF:0; }