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