9 lines
227 B
C

#include "weak_under_alias.h"
#include <unistd.h>
extern ssize_t _bsp_write(int, const void *, size_t);
ssize_t __wrap_write(int fd, const void *ptr, size_t len) {
return _bsp_write(fd, ptr, len);
}
weak_under_alias(write);