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