MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / GetLastErrnoDescription

Function GetLastErrnoDescription

tests/gtest/gtest-all.cc:7935–7937  ·  view source on GitHub ↗

Returns the message describing the last system error in errno.

Source from the content-addressed store, hash-verified

7933
7934// Returns the message describing the last system error in errno.
7935std::string GetLastErrnoDescription() {
7936 return errno == 0 ? "" : posix::StrError(errno);
7937}
7938
7939// This is called from a death test parent process to read a failure
7940// message from the death test child process and log it with the FATAL

Callers 4

FailFromInternalErrorFunction · 0.85
ExecDeathTestChildMainFunction · 0.85
ExecDeathTestSpawnChildFunction · 0.85

Calls 1

StrErrorFunction · 0.85

Tested by

no test coverage detected