| 43 | } |
| 44 | |
| 45 | int ff_hook_close(int fd) |
| 46 | { |
| 47 | if (ff_fdisused(fd)) { |
| 48 | return ff_close(fd); |
| 49 | } else { |
| 50 | return mt_real_func(close)(fd); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | int ff_hook_connect(int fd, const struct sockaddr *address, socklen_t addrlen_len) |
| 55 | { |
no test coverage detected