00001 // -*- c++ -*- 00002 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 00003 00004 // O S C L _ E R R N O 00005 00006 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 00007 00018 00019 00020 #ifndef OSCL_ERRNO_H_INCLUDED 00021 #define OSCL_ERRNO_H_INCLUDED 00022 00023 #ifndef OSCL_BASE_H_INCLUDED 00024 #include "oscl_base.h" 00025 #endif 00026 00027 #ifndef OSCLCONFIG_ERROR_H_INCLUDED 00028 #include "osclconfig_error.h" 00029 #endif 00030 00031 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 00032 00033 00037 00038 00043 OSCL_IMPORT_REF bool OSCL_IsErrnoSupported(); 00044 00046 00053 OSCL_IMPORT_REF int OSCL_GetLastError(); 00054 00056 00063 OSCL_IMPORT_REF bool OSCL_SetLastError(int newVal); 00064 00066 00074 OSCL_IMPORT_REF char *OSCL_StrError(int errnum); 00075 00076 #if (!OSCL_DISABLE_INLINES) 00077 #include "oscl_errno.inl" 00078 #endif 00079 00080 00081 #endif // INCLUDED_OSCL_ERRNO_H 00082