Allow compiler to select an strerror_r stringify
On Alpine (and potentially other systems) that don't identify their runtime correctly there is an issue with the string conversion Specifically, alpine linux and musl where the errno_to_string is incorrectly called. To fix this I have added two overloaded functions and use auto err to allow the compiler to detect the actual types returned and call the correct method for conversion
Showing
Please register or sign in to comment