| 321 | } |
| 322 | |
| 323 | ssize_t |
| 324 | writev(int sockfd, const struct iovec *iov, int iovcnt) |
| 325 | { |
| 326 | if (unlikely(inited == 0)) { |
| 327 | INIT_FUNCTION(writev); |
| 328 | return real_writev(sockfd, iov, iovcnt); |
| 329 | } |
| 330 | |
| 331 | if (ff_fdisused(sockfd)) { |
| 332 | return ff_writev(sockfd, iov, iovcnt); |
| 333 | } else { |
| 334 | return real_writev(sockfd, iov, iovcnt); |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | ssize_t read(int sockfd, void *buf, size_t count) |
| 339 | { |
no test coverage detected