Searched refs:error_number (Results 1 – 1 of 1) sorted by relevance
181 static inline const char* __strerror_lookup(int error_number) { in __strerror_lookup() argument182 if (error_number < 0 || error_number >= static_cast<int>(arraysize(__sys_error_strings))) { in __strerror_lookup()185 return __sys_error_strings[error_number]; in __strerror_lookup()188 int strerror_r(int error_number, char* buf, size_t buf_len) { in strerror_r() argument192 const char* error_name = __strerror_lookup(error_number); in strerror_r()196 length = async_safe_format_buffer(buf, buf_len, "Unknown error %d", error_number); in strerror_r()206 extern "C" char* __gnu_strerror_r(int error_number, char* buf, size_t buf_len) { in __gnu_strerror_r() argument208 strerror_r(error_number, buf, buf_len); in __gnu_strerror_r()212 char* strerror(int error_number) { in strerror() argument214 char* result = const_cast<char*>(__strerror_lookup(error_number)); in strerror()[all …]