Searched refs:strerror_buff_size (Results 1 – 1 of 1) sorted by relevance
/external/libcxx/src/ |
D | system_error.cpp | 64 constexpr size_t strerror_buff_size = 1024; variable 70 char buffer[strerror_buff_size]; in do_strerror_r() 71 if (::strerror_s(buffer, strerror_buff_size, ev) == 0) in do_strerror_r() 73 std::snprintf(buffer, strerror_buff_size, "unknown error %d", ev); in do_strerror_r() 80 char buffer[strerror_buff_size]; in do_strerror_r() 81 char* ret = ::strerror_r(ev, buffer, strerror_buff_size); in do_strerror_r() 87 char buffer[strerror_buff_size]; in do_strerror_r() 90 if ((ret = ::strerror_r(ev, buffer, strerror_buff_size)) != 0) { in do_strerror_r() 96 std::snprintf(buffer, strerror_buff_size, "Unknown error %d", ev); in do_strerror_r()
|