ref: 566c3ca2de98761f9039e49ca5f68ee1a9ad73c4 dir: /sys/src/libstdio/puts.c/
/* * pANS stdio -- puts */ #include "iolib.h" int puts(const char *s){ fputs(s, stdout); putchar('\n'); return ferror(stdin)?EOF:0; }