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