ref: 5d8b5ae1ef2dd2b2e33e2683968dc62ce25a3cac dir: /lib/c/fputs.c/
#include <stdio.h> int fputs(const char * restrict bp, FILE * restrict fp) { int r, ch; while (ch = *bp++) r = putc(ch, fp); return r; }