<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>OSCL IO</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <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> <hr><h1>OSCL IO</h1><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Files</h2></td></tr> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__dns_8h.html">oscl_dns.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__socket_8h.html">oscl_socket.h</a> defines the OSCL DNS APIs.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__cache_8h.html">oscl_file_cache.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__cache_8h.html">oscl_file_cache.h</a> defines the class <a class="el" href="classOsclFileCache.html">OsclFileCache</a>.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__dir__utils_8h.html">oscl_file_dir_utils.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__dir__utils_8h.html">oscl_file_dir_utils.h</a> defines some unix-style directory ops.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__find_8h.html">oscl_file_find.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__find_8h.html">oscl_file_find.h</a> defines the class <a class="el" href="classOscl__FileFind.html">Oscl_FileFind</a>.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__handle_8h.html">oscl_file_handle.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__handle_8h.html">oscl_file_handle.h</a> defines the class <a class="el" href="classOsclFileHandle.html">OsclFileHandle</a>.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__io_8h.html">oscl_file_io.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__io_8h.html">oscl_file_io.h</a> defines the class <a class="el" href="classOscl__File.html">Oscl_File</a>. This is the public API to the basic file I/O operations.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__native_8h.html">oscl_file_native.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__native_8h.html">oscl_file_native.h</a> defines the class <a class="el" href="classOsclNativeFile.html">OsclNativeFile</a>. This is the porting layer for basic file I/O operations.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__server_8h.html">oscl_file_server.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__server_8h.html">oscl_file_server.h</a> defines the class <a class="el" href="classOscl__FileServer.html">Oscl_FileServer</a>. This is the porting layer for file server implementations.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__stats_8h.html">oscl_file_stats.h</a></td></tr> <tr><td> </td><td><font size=-1><em>File stats class.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__file__types_8h.html">oscl_file_types.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__file__types_8h.html">oscl_file_types.h</a> defines some constants and types for file I/O implementations. Anything that needs to be shared across implementation modules can go here.</em></font><br><br></td></tr> <p> <tr><td nowrap align=right valign=top>file </td><td valign=bottom><a class="el" href="oscl__socket_8h.html">oscl_socket.h</a></td></tr> <tr><td> </td><td><font size=-1><em>The file <a class="el" href="oscl__socket_8h.html">oscl_socket.h</a> defines the OSCL Socket APIs.</em></font><br><br></td></tr> <p> <tr><td colspan=2><br><h2>Data Structures</h2></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOscl__File.html">Oscl_File</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOscl__FileFind.html">Oscl_FileFind</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOscl__FileServer.html">Oscl_FileServer</a></td></tr> <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structoscl__fsstat.html">oscl_fsstat</a></td></tr> <tr><td nowrap align=right valign=top>struct </td><td valign=bottom><a class="el" href="structoscl__stat__buf.html">oscl_stat_buf</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclDNS.html">OsclDNS</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclDNSObserver.html">OsclDNSObserver</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclFileCache.html">OsclFileCache</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclFileHandle.html">OsclFileHandle</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclFileStats.html">OsclFileStats</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclFileStatsItem.html">OsclFileStatsItem</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclNativeFile.html">OsclNativeFile</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclNativeFileParams.html">OsclNativeFileParams</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclSocketServ.html">OsclSocketServ</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclTCPSocket.html">OsclTCPSocket</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classOsclUDPSocket.html">OsclUDPSocket</a></td></tr> <tr><td colspan=2><br><h2>Defines</h2></td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclio.html#a18">TOsclFileOffsetInt32</a> int32</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclio.html#a19">OSCL_FILE_STATS_LOGGER_NODE</a> "<a class="el" href="classOsclFileStats.html">OsclFileStats</a>"</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclio.html#a20">OSCL_IO_FILENAME_MAXLEN</a> 512</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclio.html#a21">OSCL_IO_EXTENSION_MAXLEN</a> 512</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclio.html#a22">OSCL_FILE_WCHAR_PATH_DELIMITER</a> _STRLIT("/")</td></tr> <tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="group__osclio.html#a23">OSCL_FILE_CHAR_PATH_DELIMITER</a> _STRLIT_CHAR("/")</td></tr> <tr><td colspan=2><br><h2>Typedefs</h2></td></tr> <tr><td nowrap align=right valign=top>typedef <a class="el" href="structoscl__fsstat.html">oscl_fsstat</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a0">OSCL_FSSTAT</a></td></tr> <tr><td nowrap align=right valign=top>typedef <a class="el" href="structoscl__stat__buf.html">oscl_stat_buf</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a1">OSCL_STAT_BUF</a></td></tr> <tr><td nowrap align=right valign=top>typedef FILE * </td><td valign=bottom><a class="el" href="group__osclio.html#a2">TOsclFileHandle</a></td></tr> <tr><td colspan=2><br><h2>Enumerations</h2></td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__osclio.html#a24">TPVDNSFxn</a> { <a class="el" href="group__osclio.html#a24a0">EPVDNSGetHostByName</a> }</td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__osclio.html#a25">TPVDNSEvent</a> { <br> <a class="el" href="group__osclio.html#a25a1">EPVDNSSuccess</a>, <a class="el" href="group__osclio.html#a25a2">EPVDNSPending</a>, <a class="el" href="group__osclio.html#a25a3">EPVDNSTimeout</a>, <a class="el" href="group__osclio.html#a25a4">EPVDNSFailure</a>, <br> <a class="el" href="group__osclio.html#a25a5">EPVDNSCancel</a> <br> }</td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__osclio.html#a26">OSCL_FILEMGMT_PERMS</a> { <a class="el" href="group__osclio.html#a26a2">OSCL_FILEMGMT_PERMS_READ</a> = 0x1, <a class="el" href="group__osclio.html#a26a3">OSCL_FILEMGMT_PERMS_WRITE</a> = 0x2, <a class="el" href="group__osclio.html#a26a4">OSCL_FILEMGMT_PERMS_EXECUTE</a> = 0x4 }</td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__osclio.html#a27">OSCL_FILEMGMT_MODES</a> { <a class="el" href="group__osclio.html#a27a5">OSCL_FILEMGMT_MODE_DIR</a> = 0x1 }</td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> { <br> <a class="el" href="group__osclio.html#a28a6">OSCL_FILEMGMT_E_OK</a> = 0, <a class="el" href="group__osclio.html#a28a7">OSCL_FILEMGMT_E_PATH_TOO_LONG</a>, <a class="el" href="group__osclio.html#a28a8">OSCL_FILEMGMT_E_PATH_NOT_FOUND</a>, <a class="el" href="group__osclio.html#a28a9">OSCL_FILEMGMT_E_ALREADY_EXISTS</a>, <br> <a class="el" href="group__osclio.html#a28a10">OSCL_FILEMGMT_E_NOT_EMPTY</a>, <a class="el" href="group__osclio.html#a28a11">OSCL_FILEMGMT_E_PERMISSION_DENIED</a>, <a class="el" href="group__osclio.html#a28a12">OSCL_FILEMGMT_E_NO_MATCH</a>, <a class="el" href="group__osclio.html#a28a13">OSCL_FILEMGMT_E_UNKNOWN</a>, <br> <a class="el" href="group__osclio.html#a28a14">OSCL_FILEMGMT_E_SYS_SPECIFIC</a>, <a class="el" href="group__osclio.html#a28a15">OSCL_FILEMGMT_E_NOT_IMPLEMENTED</a> <br> }</td></tr> <tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__osclio.html#a29">TOsclFileOp</a> { <br> <a class="el" href="group__osclio.html#a29a2">EOsclFileOp_Open</a>, <a class="el" href="group__osclio.html#a29a3">EOsclFileOp_Close</a>, <a class="el" href="group__osclio.html#a29a4">EOsclFileOp_Read</a>, <a class="el" href="group__osclio.html#a29a5">EOsclFileOp_Write</a>, <br> <a class="el" href="group__osclio.html#a29a6">EOsclFileOp_Seek</a>, <a class="el" href="group__osclio.html#a29a7">EOsclFileOp_Tell</a>, <a class="el" href="group__osclio.html#a29a8">EOsclFileOp_Size</a>, <a class="el" href="group__osclio.html#a29a9">EOsclFileOp_Flush</a>, <br> <a class="el" href="group__osclio.html#a29a10">EOsclFileOp_EndOfFile</a>, <a class="el" href="group__osclio.html#a29a11">EOsclFileOp_NativeOpen</a>, <a class="el" href="group__osclio.html#a29a12">EOsclFileOp_NativeClose</a>, <a class="el" href="group__osclio.html#a29a13">EOsclFileOp_NativeRead</a>, <br> <a class="el" href="group__osclio.html#a29a14">EOsclFileOp_NativeWrite</a>, <a class="el" href="group__osclio.html#a29a15">EOsclFileOp_NativeSeek</a>, <a class="el" href="group__osclio.html#a29a16">EOsclFileOp_NativeTell</a>, <a class="el" href="group__osclio.html#a29a17">EOsclFileOp_NativeSize</a>, <br> <a class="el" href="group__osclio.html#a29a18">EOsclFileOp_NativeFlush</a>, <a class="el" href="group__osclio.html#a29a19">EOsclFileOp_NativeEndOfFile</a>, <a class="el" href="group__osclio.html#a29a20">EOsclFileOp_Last</a> <br> }</td></tr> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a4">oscl_getcwd</a> (<a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *path, uint32 size)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a5">oscl_getcwd</a> (char *path, uint32 size)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a6">oscl_stat</a> (const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *path, <a class="el" href="group__osclio.html#a1">OSCL_STAT_BUF</a> *statbuf)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a7">oscl_stat</a> (const char *path, <a class="el" href="group__osclio.html#a1">OSCL_STAT_BUF</a> *statbuf)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a8">oscl_mkdir</a> (const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a9">oscl_mkdir</a> (const char *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a10">oscl_rmdir</a> (const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a11">oscl_rmdir</a> (const char *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a12">oscl_chdir</a> (const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a13">oscl_chdir</a> (const char *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a14">oscl_rename</a> (const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *oldpath, const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *newpath)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a15">oscl_rename</a> (const char *oldpath, const char *newpath)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a16">oscl_statfs</a> (<a class="el" href="group__osclio.html#a0">OSCL_FSSTAT</a> *stats, const char *path)</td></tr> <tr><td nowrap align=right valign=top>OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> </td><td valign=bottom><a class="el" href="group__osclio.html#a17">oscl_statfs</a> (<a class="el" href="group__osclio.html#a0">OSCL_FSSTAT</a> *stats, const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> *path)</td></tr> </table> <hr><h2>Define Documentation</h2> <a name="a23" doxytag="oscl_file_types.h::OSCL_FILE_CHAR_PATH_DELIMITER"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OSCL_FILE_CHAR_PATH_DELIMITER _STRLIT_CHAR("/") </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a19" doxytag="oscl_file_stats.h::OSCL_FILE_STATS_LOGGER_NODE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OSCL_FILE_STATS_LOGGER_NODE "<a class="el" href="classOsclFileStats.html">OsclFileStats</a>" </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a22" doxytag="oscl_file_types.h::OSCL_FILE_WCHAR_PATH_DELIMITER"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OSCL_FILE_WCHAR_PATH_DELIMITER _STRLIT("/") </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a21" doxytag="oscl_file_types.h::OSCL_IO_EXTENSION_MAXLEN"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OSCL_IO_EXTENSION_MAXLEN 512 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a20" doxytag="oscl_file_types.h::OSCL_IO_FILENAME_MAXLEN"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define OSCL_IO_FILENAME_MAXLEN 512 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a18" doxytag="oscl_file_io.h::TOsclFileOffsetInt32"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define TOsclFileOffsetInt32 int32 </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Typedef Documentation</h2> <a name="a0" doxytag="oscl_file_dir_utils.h::OSCL_FSSTAT"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef struct <a class="el" href="structoscl__fsstat.html">oscl_fsstat</a> OSCL_FSSTAT </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="oscl_file_dir_utils.h::OSCL_STAT_BUF"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef struct <a class="el" href="structoscl__stat__buf.html">oscl_stat_buf</a> OSCL_STAT_BUF </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="oscl_file_handle.h::TOsclFileHandle"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef FILE* TOsclFileHandle </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> TOsclFileHandle is an OS-native file handle type. With a class-based file API such as Symbian, a class ref is used as a file handle. For most ANSI-style file APIs, a file pointer is used as a file handle. </td> </tr> </table> <hr><h2>Enumeration Type Documentation</h2> <a name="a28" doxytag="oscl_file_dir_utils.h::OSCL_FILEMGMT_ERR_TYPE"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum OSCL_FILEMGMT_ERR_TYPE </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a28a6" doxytag="OSCL_FILEMGMT_E_OK"></a><em>OSCL_FILEMGMT_E_OK</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a7" doxytag="OSCL_FILEMGMT_E_PATH_TOO_LONG"></a><em>OSCL_FILEMGMT_E_PATH_TOO_LONG</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a8" doxytag="OSCL_FILEMGMT_E_PATH_NOT_FOUND"></a><em>OSCL_FILEMGMT_E_PATH_NOT_FOUND</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a9" doxytag="OSCL_FILEMGMT_E_ALREADY_EXISTS"></a><em>OSCL_FILEMGMT_E_ALREADY_EXISTS</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a10" doxytag="OSCL_FILEMGMT_E_NOT_EMPTY"></a><em>OSCL_FILEMGMT_E_NOT_EMPTY</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a11" doxytag="OSCL_FILEMGMT_E_PERMISSION_DENIED"></a><em>OSCL_FILEMGMT_E_PERMISSION_DENIED</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a12" doxytag="OSCL_FILEMGMT_E_NO_MATCH"></a><em>OSCL_FILEMGMT_E_NO_MATCH</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a13" doxytag="OSCL_FILEMGMT_E_UNKNOWN"></a><em>OSCL_FILEMGMT_E_UNKNOWN</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a14" doxytag="OSCL_FILEMGMT_E_SYS_SPECIFIC"></a><em>OSCL_FILEMGMT_E_SYS_SPECIFIC</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a28a15" doxytag="OSCL_FILEMGMT_E_NOT_IMPLEMENTED"></a><em>OSCL_FILEMGMT_E_NOT_IMPLEMENTED</em></em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <a name="a27" doxytag="oscl_file_dir_utils.h::OSCL_FILEMGMT_MODES"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum OSCL_FILEMGMT_MODES </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a27a5" doxytag="OSCL_FILEMGMT_MODE_DIR"></a><em>OSCL_FILEMGMT_MODE_DIR</em></em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <a name="a26" doxytag="oscl_file_dir_utils.h::OSCL_FILEMGMT_PERMS"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum OSCL_FILEMGMT_PERMS </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a26a2" doxytag="OSCL_FILEMGMT_PERMS_READ"></a><em>OSCL_FILEMGMT_PERMS_READ</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a26a3" doxytag="OSCL_FILEMGMT_PERMS_WRITE"></a><em>OSCL_FILEMGMT_PERMS_WRITE</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a26a4" doxytag="OSCL_FILEMGMT_PERMS_EXECUTE"></a><em>OSCL_FILEMGMT_PERMS_EXECUTE</em></em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <a name="a29" doxytag="oscl_file_stats.h::TOsclFileOp"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum TOsclFileOp </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a29a2" doxytag="EOsclFileOp_Open"></a><em>EOsclFileOp_Open</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a3" doxytag="EOsclFileOp_Close"></a><em>EOsclFileOp_Close</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a4" doxytag="EOsclFileOp_Read"></a><em>EOsclFileOp_Read</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a5" doxytag="EOsclFileOp_Write"></a><em>EOsclFileOp_Write</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a6" doxytag="EOsclFileOp_Seek"></a><em>EOsclFileOp_Seek</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a7" doxytag="EOsclFileOp_Tell"></a><em>EOsclFileOp_Tell</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a8" doxytag="EOsclFileOp_Size"></a><em>EOsclFileOp_Size</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a9" doxytag="EOsclFileOp_Flush"></a><em>EOsclFileOp_Flush</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a10" doxytag="EOsclFileOp_EndOfFile"></a><em>EOsclFileOp_EndOfFile</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a11" doxytag="EOsclFileOp_NativeOpen"></a><em>EOsclFileOp_NativeOpen</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a12" doxytag="EOsclFileOp_NativeClose"></a><em>EOsclFileOp_NativeClose</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a13" doxytag="EOsclFileOp_NativeRead"></a><em>EOsclFileOp_NativeRead</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a14" doxytag="EOsclFileOp_NativeWrite"></a><em>EOsclFileOp_NativeWrite</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a15" doxytag="EOsclFileOp_NativeSeek"></a><em>EOsclFileOp_NativeSeek</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a16" doxytag="EOsclFileOp_NativeTell"></a><em>EOsclFileOp_NativeTell</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a17" doxytag="EOsclFileOp_NativeSize"></a><em>EOsclFileOp_NativeSize</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a18" doxytag="EOsclFileOp_NativeFlush"></a><em>EOsclFileOp_NativeFlush</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a19" doxytag="EOsclFileOp_NativeEndOfFile"></a><em>EOsclFileOp_NativeEndOfFile</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a29a20" doxytag="EOsclFileOp_Last"></a><em>EOsclFileOp_Last</em></em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <a name="a25" doxytag="oscl_dns.h::TPVDNSEvent"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum TPVDNSEvent </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a25a1" doxytag="EPVDNSSuccess"></a><em>EPVDNSSuccess</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a25a2" doxytag="EPVDNSPending"></a><em>EPVDNSPending</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a25a3" doxytag="EPVDNSTimeout"></a><em>EPVDNSTimeout</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a25a4" doxytag="EPVDNSFailure"></a><em>EPVDNSFailure</em></em> </td><td> </td></tr> <tr><td valign=top><em><a name="a25a5" doxytag="EPVDNSCancel"></a><em>EPVDNSCancel</em></em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <a name="a24" doxytag="oscl_dns.h::TPVDNSFxn"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum TPVDNSFxn </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt><b>Enumeration values: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em><a name="a24a0" doxytag="EPVDNSGetHostByName"></a><em>EPVDNSGetHostByName</em></em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Function Documentation</h2> <a name="a13" doxytag="oscl_file_dir_utils.h::oscl_chdir"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_chdir </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>path</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_chdir changes the current directory to the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>character</em> </td><td> path the full path of the directory to change to. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a12" doxytag="oscl_file_dir_utils.h::oscl_chdir"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_chdir </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname1" valign="top" nowrap> <em>path</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_chdir changes the current directory to the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>wide</em> </td><td> character path the full path of the directory to change to. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a5" doxytag="oscl_file_dir_utils.h::oscl_getcwd"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_getcwd </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char * </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>uint32 </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_getcwd function can be used to determine the full path name of the current directory. <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to character buffer to receive the current directory </td></tr> <tr><td valign=top><em>size</em> </td><td> size of buffer in characters </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a4" doxytag="oscl_file_dir_utils.h::oscl_getcwd"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_getcwd </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>uint32 </td> <td class="mdname" nowrap> <em>size</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_getcwd function can be used to determine the full path name of the current directory. <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>pointer</em> </td><td> to wide character buffer to receive the current directory </td></tr> <tr><td valign=top><em>size</em> </td><td> size of buffer in wide characters </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a9" doxytag="oscl_file_dir_utils.h::oscl_mkdir"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_mkdir </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>path</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_mkdir function creates a directory in the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>character</em> </td><td> path the full path of the directory to create. if parts of the path do not exist the function will fail </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a8" doxytag="oscl_file_dir_utils.h::oscl_mkdir"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_mkdir </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname1" valign="top" nowrap> <em>path</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_mkdir function creates a directory in the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>wide</em> </td><td> character path the full path of the directory to create. if parts of the path do not exist the function will fail </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a15" doxytag="oscl_file_dir_utils.h::oscl_rename"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_rename </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>oldpath</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>newpath</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_rmdir removes an empty directory in the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>character</em> </td><td> path the full path of the directory to remove. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a14" doxytag="oscl_file_dir_utils.h::oscl_rename"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_rename </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname" nowrap> <em>oldpath</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname" nowrap> <em>newpath</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_rename function renames a file or directory <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>wide</em> </td><td> character path the full path of the file or directory to rename. </td></tr> <tr><td valign=top><em>wide</em> </td><td> character path the full path the new name for the directory</td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a11" doxytag="oscl_file_dir_utils.h::oscl_rmdir"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_rmdir </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname1" valign="top" nowrap> <em>path</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_rmdir removes an empty directory in the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>character</em> </td><td> path the full path of the directory to remove. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a10" doxytag="oscl_file_dir_utils.h::oscl_rmdir"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_rmdir </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname1" valign="top" nowrap> <em>path</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_rmdir function removes and empty directory in the path given <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>wide</em> </td><td> character path the full path of the directory to remove. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a7" doxytag="oscl_file_dir_utils.h::oscl_stat"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_stat </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__osclio.html#a1">OSCL_STAT_BUF</a> * </td> <td class="mdname" nowrap> <em>statbuf</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_stat function can be used to determine the size of a file in addition to whether the file exists or not <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>character</em> </td><td> path the full path of the file to stat. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a6" doxytag="oscl_file_dir_utils.h::oscl_stat"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_stat </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname" nowrap> <em>path</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="group__osclio.html#a1">OSCL_STAT_BUF</a> * </td> <td class="mdname" nowrap> <em>statbuf</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> oscl_stat function can be used to determine the size of a file in addition to whether the file exists or not <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>wide</em> </td><td> character path the full path of the file to stat. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a17" doxytag="oscl_file_dir_utils.h::oscl_statfs"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_statfs </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__osclio.html#a0">OSCL_FSSTAT</a> * </td> <td class="mdname" nowrap> <em>stats</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="group__osclbase.html#a32">oscl_wchar</a> * </td> <td class="mdname" nowrap> <em>path</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Oscl_StatFS function populates a general structure describing free space available on a filesystem <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>stats</em> </td><td> pointer to structure to hold information </td></tr> <tr><td valign=top><em>path</em> </td><td> located in desired filesystem (utf8) Note: If the OS does not support a particular field in the structure, it is set to -1. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <a name="a16" doxytag="oscl_file_dir_utils.h::oscl_statfs"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> OSCL_IMPORT_REF <a class="el" href="group__osclio.html#a28">OSCL_FILEMGMT_ERR_TYPE</a> oscl_statfs </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__osclio.html#a0">OSCL_FSSTAT</a> * </td> <td class="mdname" nowrap> <em>stats</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>path</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Oscl_StatFS function populates a general structure describing free space available on a filesystem <dl compact><dt><b>Parameters: </b></dt><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>stats</em> </td><td> pointer to structure to hold information </td></tr> <tr><td valign=top><em>path</em> </td><td> located in desired filesystem (utf8) Note: If the OS does not support a particular field in the structure, it is set to -1. </td></tr> </table> </dl><dl compact><dt><b>Returns: </b></dt><dd> OSCL_FILEMGMT_ERR_TYPE, see enumeration for this type. </dl> </td> </tr> </table> <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> </small></address> </body> </html>