ref: 8e212d00e17c23b79489215d6cc41da22381a550 dir: /lib/c/stdio/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; }