MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / read_platf

Function read_platf

src/burp/split/spit.cpp:80–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static int read_platf(DESC file, void* buf, int count)
81{
82#ifdef WIN_NT
83 DWORD act;
84 if (!ReadFile(file, buf, count, &act, NULL))
85 {
86 return -1;
87 }
88 return act;
89#else
90 return read(file, buf, count);
91#endif
92}
93
94static int write_platf(DESC file, const void* buf, int count)
95{

Callers 3

read_and_writeFunction · 0.85
final_read_and_writeFunction · 0.85
read_and_write_for_joinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected