| 145 | } |
| 146 | |
| 147 | int close(int fd) |
| 148 | { |
| 149 | mt_hook_syscall(close); |
| 150 | if (!ff_hook_active()) |
| 151 | { |
| 152 | return mt_real_func(close)(fd); |
| 153 | } |
| 154 | |
| 155 | mt_hook_free_fd(fd); |
| 156 | return ff_hook_close(fd); |
| 157 | } |
| 158 | |
| 159 | int connect(int fd, const struct sockaddr *address, socklen_t address_len) |
| 160 | { |
no test coverage detected