MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / processReopenFd

Function processReopenFd

src/wrappers.cpp:70–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70static void
71processReopenFd(int fd, const char *path, int flags)
72{
73 if (!dmtcp_is_running_state()) {
74 return;
75 }
76
77 DmtcpEventData_t data;
78 data.reopenFd.fd = fd;
79 data.reopenFd.path = path;
80 data.reopenFd.flags = flags;
81
82 PluginManager::eventHook(DMTCP_EVENT_REOPEN_FD, &data);
83}
84
85static void
86processCloseFd(int fd)

Callers 2

freopenFunction · 0.85
freopen64Function · 0.85

Calls 2

eventHookFunction · 0.85
dmtcp_is_running_stateFunction · 0.70

Tested by

no test coverage detected