__errno__
- :
err =__errno__()¶ - :
old =__errno__(val)¶ - :
num =__errno__(name)¶ Query or set the C library error number.
With no argument return the current value. With a numeric val set it and return the previous value. With a string name such as
"ENOENT"return that symbol’s number, or -1 if it is unknown, without changing the error number.