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