MCPcopy Index your code
hub / github.com/F-Stack/f-stack / ff_hook_close

Function ff_hook_close

adapter/micro_thread/ff_hook.cpp:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45int 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
54int ff_hook_connect(int fd, const struct sockaddr *address, socklen_t addrlen_len)
55{

Callers 1

closeFunction · 0.70

Calls 2

ff_fdisusedFunction · 0.85
ff_closeFunction · 0.85

Tested by

no test coverage detected