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