Returns the current value of the ctypes-private copy of the system errno variable in the calling thread.
ctypes/get_errno
get_errno