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