MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ff_hook_ioctl

Function ff_hook_ioctl

adapter/micro_thread/ff_hook.cpp:124–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124int ff_hook_ioctl(int fd, int cmd, void *arg)
125{
126 if (ff_fdisused(fd)) {
127 return ff_ioctl(fd, cmd, arg);
128 } else {
129 return mt_real_func(ioctl)(fd, cmd, arg);
130 }
131}
132
133int ff_hook_fcntl(int fd, int cmd, void *arg)
134{

Callers 2

ioctlFunction · 0.70
socketFunction · 0.70

Calls 2

ff_fdisusedFunction · 0.85
ff_ioctlFunction · 0.85

Tested by

no test coverage detected