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