ref: 2ef958d9809092755fd5fb1f154c8ab97cb8604e 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; }