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