MCPcopy Create free account
hub / github.com/Tencent/libco / __res_state

Function __res_state

co_hook_sys_call.cpp:889–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887extern "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);

Callers

nothing calls this directly

Calls 1

co_is_enable_sys_hookFunction · 0.85

Tested by

no test coverage detected