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