1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>oscl_errno.h File Reference</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>oscl_errno.h File Reference</h1>Defines functions to access additional information on errors where supported through an errno or similar service. 10<a href="#_details">More...</a> 11<p> 12<code>#include "<a class="el" href="oscl__base_8h-source.html">oscl_base.h</a>"</code><br> 13<code>#include "<a class="el" href="osclconfig__error_8h-source.html">osclconfig_error.h</a>"</code><br> 14<code>#include "oscl_errno.inl"</code><br> 15 16<p> 17<a href="oscl__errno_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> 18<tr><td></td></tr> 19<tr><td colspan=2><br><h2>Functions</h2></td></tr> 20<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclerror.html#a4">OSCL_IsErrnoSupported</a> ()</td></tr> 21<tr><td> </td><td><font size=-1><em>This function determines if a particular system saves the error number that occurs on a system call.</em> <a href="group__osclerror.html#a4"></a><em></em></font><br><br></td></tr> 22<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF int </td><td valign=bottom><a class="el" href="group__osclerror.html#a5">OSCL_GetLastError</a> ()</td></tr> 23<tr><td> </td><td><font size=-1><em>This function returns the value of the system's global error number variable.</em> <a href="group__osclerror.html#a5"></a><em></em></font><br><br></td></tr> 24<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF bool </td><td valign=bottom><a class="el" href="group__osclerror.html#a6">OSCL_SetLastError</a> (int newVal)</td></tr> 25<tr><td> </td><td><font size=-1><em>This function sets the last error code for the system.</em> <a href="group__osclerror.html#a6"></a><em></em></font><br><br></td></tr> 26<tr><td nowrap align=right valign=top>OSCL_IMPORT_REF char * </td><td valign=bottom><a class="el" href="group__osclerror.html#a7">OSCL_StrError</a> (int errnum)</td></tr> 27<tr><td> </td><td><font size=-1><em>This function maps an error number to an error-message string.</em> <a href="group__osclerror.html#a7"></a><em></em></font><br><br></td></tr> 28</table> 29<hr><a name="_details"></a><h2>Detailed Description</h2> 30Defines functions to access additional information on errors where supported through an errno or similar service. 31<p> 32 33<p> 34<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 35<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 36</small></address> 37</body> 38</html> 39