#include "weak_under_alias.h" #include #include extern ssize_t _bsp_write(int, const void *, size_t); int __wrap_puts(const char *s) { int len = strlen(s); return _bsp_write(0, s, len); } weak_under_alias(puts);