#include #include #include #include int write (int fd, const char *buf, int len); int __wrap_puts (const char * s) { int res = write (1, s, strlen (s)); if (res == EOF) { write (1, "\n", 1); return EOF; } return write (1, "\n", 1); } int puts (const char * s) __attribute__ ((weak, alias ("__wrap_puts")));