
Keith B. answered 03/27/19
Tutor
4.6
(22)
Software Engineer and Math Geek
You can get the value using sterror() on Linux,
https://linux.die.net/man/3/strerror
I think Visual Studio has ::GetLastError();