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

Function write_platf

src/burp/split/spit.cpp:94–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static int write_platf(DESC file, const void* buf, int count)
95{
96#ifdef WIN_NT
97 DWORD act;
98 if (!WriteFile(file, buf, count, &act, NULL))
99 {
100 return -1;
101 }
102 return act;
103#else
104 return write(file, buf, count);
105#endif
106}
107
108static void close_platf(DESC file)
109{

Callers 6

read_and_writeFunction · 0.85
final_read_and_writeFunction · 0.85
read_and_write_for_joinFunction · 0.85
write_headerFunction · 0.85
flush_io_buffFunction · 0.85
final_flush_io_buffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected