MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / GetLastErrnoDescription

Function GetLastErrnoDescription

rtpose_wrapper/src/gtest/gtest-all.cpp:6460–6462  ·  view source on GitHub ↗

Returns the message describing the last system error in errno.

Source from the content-addressed store, hash-verified

6458
6459// Returns the message describing the last system error in errno.
6460String GetLastErrnoDescription() {
6461 return String(errno == 0 ? "" : posix::StrError(errno));
6462}
6463
6464// This is called from a death test parent process to read a failure
6465// message from the death test child process and log it with the FATAL

Callers 3

FailFromInternalErrorFunction · 0.85
ExecDeathTestChildMainFunction · 0.85

Calls 2

StrErrorFunction · 0.85
StringFunction · 0.70

Tested by

no test coverage detected