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