ref: 4d90e3d1507444cb0edb5a53ccefa3b1d958abae 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++) r = putc(ch, fp); return r; }