ref: b8d2d8bb8b3cf1b5475e8c9be292248f140b2126
dir: /wince/errno.c/
// // "Extension" implementation of errno.h for Windows CE. // // I (Simon Howard) release this file to the public domain. // #include <windows.h> #include "errno.h" // This should really be a thread-local variable. Oh well. static int my_errno; int *_GetErrno() { my_errno = GetLastError(); return &my_errno; }