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