MCPcopy Create free account
hub / github.com/SmingHub/Sming / get_error_string

Function get_error_string

Sming/Arch/Host/Components/hostlib/sockets.cpp:36–39  ·  view source on GitHub ↗

* There's no guarantee which version of strerror_r got linked, * so use overloaded helper function to get correct result. */

Source from the content-addressed store, hash-verified

34 * so use overloaded helper function to get correct result.
35 */
36[[maybe_unused]] const char* get_error_string(char* retval, char*)
37{
38 return retval;
39}
40
41[[maybe_unused]] const char* get_error_string(int, char* buffer)
42{

Callers 1

socket_strerrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected