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

Function ff_hook_write

adapter/micro_thread/ff_hook.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72ssize_t ff_hook_write(int fd, const void *buf, size_t nbyte)
73{
74 if (ff_fdisused(fd)) {
75 return ff_write(fd, buf, nbyte);
76 } else {
77 return mt_real_func(write)(fd, buf, nbyte);
78 }
79}
80ssize_t ff_hook_sendto(int fd, const void *message, size_t length, int flags,
81 const struct sockaddr *dest_addr, socklen_t dest_len)
82{

Callers 2

writeMethod · 0.70
writeFunction · 0.70

Calls 2

ff_fdisusedFunction · 0.85
ff_writeFunction · 0.85

Tested by

no test coverage detected