2023-09-28 11:51:20 +02:00
|
|
|
#include "weak_under_alias.h"
|
2025-01-06 20:19:05 +01:00
|
|
|
#include <unistd.h>
|
2020-06-18 12:15:52 +02:00
|
|
|
|
2025-01-06 20:19:05 +01:00
|
|
|
extern ssize_t _bsp_write(int, const void *, size_t);
|
2024-05-31 08:56:21 +02:00
|
|
|
ssize_t __wrap_write(int fd, const void *ptr, size_t len) {
|
2025-01-06 20:19:05 +01:00
|
|
|
return _bsp_write(fd, ptr, len);
|
2020-06-18 12:15:52 +02:00
|
|
|
}
|
2023-09-28 11:51:20 +02:00
|
|
|
weak_under_alias(write);
|