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