ref: a004412434813b0500807d46d09c2d0cef13205d dir: /src/libc/stdio/fputs.c/
#include <stdio.h> #undef fputs int fputs(const char * restrict bp, FILE * restrict fp) { int r, ch; while ((ch = *bp++) != '\0') r = putc(ch, fp); return r; }