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