#include int puts(const char *str) { int r = fputs(str, stdout); if (r != 0) { return r; } return fputc('\n', stdout); }