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