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