| 86 | } |
| 87 | |
| 88 | static inline ssize_t |
| 89 | malloc_read_fd(int fd, void *buf, size_t count) { |
| 90 | #if defined(JEMALLOC_USE_SYSCALL) && defined(SYS_read) |
| 91 | long result = syscall(SYS_read, fd, buf, count); |
| 92 | #else |
| 93 | ssize_t result = read(fd, buf, |
| 94 | #ifdef _WIN32 |
| 95 | (unsigned int) |
| 96 | #endif |
| 97 | count); |
| 98 | #endif |
| 99 | return (ssize_t)result; |
| 100 | } |
| 101 | |
| 102 | #endif /* JEMALLOC_INTERNAL_MALLOC_IO_H */ |
no outgoing calls
no test coverage detected