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