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

Function ff_hook_read

adapter/micro_thread/ff_hook.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63ssize_t ff_hook_read(int fd, void *buf, size_t nbyte)
64{
65 if (ff_fdisused(fd)) {
66 return ff_read(fd, buf, nbyte);
67 } else {
68 return mt_real_func(read)(fd, buf, nbyte);
69 }
70}
71
72ssize_t ff_hook_write(int fd, const void *buf, size_t nbyte)
73{

Callers 2

readMethod · 0.70
readFunction · 0.70

Calls 2

ff_fdisusedFunction · 0.85
ff_readFunction · 0.85

Tested by

no test coverage detected