| 887 | extern "C" |
| 888 | { |
| 889 | res_state __res_state() |
| 890 | { |
| 891 | HOOK_SYS_FUNC(__res_state); |
| 892 | |
| 893 | if (!co_is_enable_sys_hook()) |
| 894 | { |
| 895 | return g_sys___res_state_func(); |
| 896 | } |
| 897 | |
| 898 | return &(__co_state_wrap->state); |
| 899 | } |
| 900 | int __poll(struct pollfd fds[], nfds_t nfds, int timeout) |
| 901 | { |
| 902 | return poll(fds, nfds, timeout); |
nothing calls this directly
no test coverage detected