12 lines
240 B
C

#include "weak_under_alias.h"
#include <string.h>
#include <unistd.h>
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);