MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / errno_string

Function errno_string

libhsclient/string_util.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102int
103errno_string(const char *s, int en, std::string& err_r)
104{
105 char buf[64];
106 snprintf(buf, sizeof(buf), "%s: %d", s, en);
107 err_r = std::string(buf);
108 return en;
109}
110
111template <typename T> size_t
112split_tmpl_arr(char delim, const T& buf, T *parts, size_t parts_len)

Callers 5

socket_set_optionsFunction · 0.85
socket_openFunction · 0.85
socket_connectFunction · 0.85
socket_bindFunction · 0.85
socket_acceptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected