MCPcopy Create free account
hub / github.com/Kitware/CMake / write

Method write

Source/cmDebuggerPosixPipeConnection.cxx:122–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122bool cmDebuggerPipeConnection_POSIX::write(void const* buffer, size_t n)
123{
124 bool result = false;
125 if (rw_pipe >= 0) {
126 result = ::write(rw_pipe, buffer, n) >= 0;
127 if (!result) {
128 close();
129 }
130 }
131
132 return result;
133}
134
135cmDebuggerPipeClient_POSIX::cmDebuggerPipeClient_POSIX(std::string name)
136 : PipeName(std::move(name))

Callers 15

cmXMLSafe.cxxFile · 0.45
WriteSbomMethod · 0.45
PrintVersionJsonMethod · 0.45
WriteJsonContentMethod · 0.45
WriteRuleHashesMethod · 0.45
WriteSlnHeaderFunction · 0.45
cmGeneratedFileStreamMethod · 0.45
WriteAltEncodingMethod · 0.45
WriteChecksMethod · 0.45
WriteValueMethod · 0.45
WriteLiteralTextBlockMethod · 0.45
WriteEscapeMethod · 0.45

Calls 1

writeFunction · 0.85

Tested by 4

PrintOutputAsJsonMethod · 0.36
RunChildMethod · 0.36
testBOMFunction · 0.36
testBOMIOFunction · 0.36