[issue44321] os.EX_OK for Windows
Samuel Marks
report at bugs.python.org
Sun Jun 6 06:52:33 EDT 2021
Samuel Marks <samuelmarks at gmail.com> added the comment:
`EXIT_SUCCESS` is defined in `stdlib.h`, as per https://docs.microsoft.com/en-us/cpp/c-runtime-library/exit-success-exit-failure (following the standard https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdlib.h.html)
There are also https://docs.microsoft.com/en-us/cpp/c-runtime-library/errno-constants which has many equivalents to the `<sysexists.h>` (in `<errno.h>`).
Kinda related: https://bugs.python.org/issue24053
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44321>
_______________________________________
More information about the Python-bugs-list
mailing list