MCPcopy Create free account
hub / github.com/ddopson/node-segfault-handler / OnOutput

Method OnOutput

src/StackWalker.cpp:1211–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1209}
1210
1211void StackWalker::OnOutput(LPCSTR buffer)
1212{
1213 if(m_fDescriptor > 0) {
1214 unsigned int n = (unsigned int)strlen(buffer);
1215 if (_write(m_fDescriptor, buffer, n) != n) {
1216 fprintf(stderr, "NodeSegfaultHandlerNative: Error writing to file\n");
1217 }
1218 }
1219 fprintf(stderr, buffer);
1220}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected