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