Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

oscl_errno.h File Reference

Defines functions to access additional information on errors where supported through an errno or similar service. More...

#include "oscl_base.h"
#include "osclconfig_error.h"
#include "oscl_errno.inl"

Go to the source code of this file.

Functions

OSCL_IMPORT_REF bool OSCL_IsErrnoSupported ()
 This function determines if a particular system saves the error number that occurs on a system call.

OSCL_IMPORT_REF int OSCL_GetLastError ()
 This function returns the value of the system's global error number variable.

OSCL_IMPORT_REF bool OSCL_SetLastError (int newVal)
 This function sets the last error code for the system.

OSCL_IMPORT_REF char * OSCL_StrError (int errnum)
 This function maps an error number to an error-message string.


Detailed Description

Defines functions to access additional information on errors where supported through an errno or similar service.


OSCL API
Posting Version: OPENCORE_20090310