ref: 541539b33afc0c198e44ecce36b6b0f2030c6b3b 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; }