Showing content from http://svn.python.org/projects/python/tags/r255c2/PC/generrmap.c below:
#include #include /* Extract the mapping of Win32 error codes to errno */ int main() { int i; printf("/* Generated file. Do not edit. */\n"); printf("int winerror_to_errno(int winerror)\n"); printf("{\n\tswitch(winerror) {\n"); for(i=1; i < 65000; i++) { _dosmaperr(i); if (errno == EINVAL) continue; printf("\t\tcase %d: return %d;\n", i, errno); } printf("\t\tdefault: return EINVAL;\n"); printf("\t}\n}\n"); }
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4