<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: file Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li id="current"><a href="classes.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul></div> <h1>file Struct Reference</h1><!-- doxytag: class="file" --><code>#include <<a class="el" href="kern__descrip_8h-source.html">kern_descrip.h</a>></code> <p> Collaboration diagram for file:<p><center><img src="structfile__coll__graph.png" border="0" usemap="#file__coll__map" alt="Collaboration graph"></center> <map name="file__coll__map"> <area href="structfileDescriptorStruct.html" shape="rect" coords="216,342,368,678" alt=""> <area href="structcacheNode.html" shape="rect" coords="6,6,123,278" alt=""> <area href="structdmadat.html" shape="rect" coords="251,78,334,206" alt=""> <area href="structvfs__mountPoint.html" shape="rect" coords="358,38,483,246" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Fields</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structfile.html#314e5cc77afefbebb7f5e7d197b089ab">f_flag</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structfile.html#5a1b356e191a81d71a02560074aacd2a">fd</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="structfile.html#48952da96dfce82445b051d594d7bbf6">path</a> [1024]</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <p> Definition at line <a class="el" href="kern__descrip_8h-source.html#l00093">93</a> of file <a class="el" href="kern__descrip_8h-source.html">kern_descrip.h</a>.<hr><h2>Field Documentation</h2> <a class="anchor" name="314e5cc77afefbebb7f5e7d197b089ab"></a><!-- doxytag: member="file::f_flag" ref="314e5cc77afefbebb7f5e7d197b089ab" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structfile.html#314e5cc77afefbebb7f5e7d197b089ab">file::f_flag</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="kern__descrip_8h-source.html#l00094">94</a> of file <a class="el" href="kern__descrip_8h-source.html">kern_descrip.h</a>. <p> Referenced by <a class="el" href="kern__descrip_8c-source.html#l00039">fcntl()</a>, <a class="el" href="pipe_8c-source.html#l00041">pipe()</a>, and <a class="el" href="sched_8c-source.html#l00143">schedNewTask()</a>. </div> </div><p> <a class="anchor" name="5a1b356e191a81d71a02560074aacd2a"></a><!-- doxytag: member="file::fd" ref="5a1b356e191a81d71a02560074aacd2a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structfileDescriptorStruct.html">fileDescriptor</a>* <a class="el" href="structfile.html#5a1b356e191a81d71a02560074aacd2a">file::fd</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="kern__descrip_8h-source.html#l00096">96</a> of file <a class="el" href="kern__descrip_8h-source.html">kern_descrip.h</a>. <p> Referenced by <a class="el" href="pipe_8c-source.html#l00041">pipe()</a>, <a class="el" href="gen__calls_8c-source.html#l00125">read()</a>, and <a class="el" href="vfs_8c-source.html#l00148">sys_open()</a>. </div> </div><p> <a class="anchor" name="48952da96dfce82445b051d594d7bbf6"></a><!-- doxytag: member="file::path" ref="48952da96dfce82445b051d594d7bbf6" args="[1024]" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char <a class="el" href="structfile.html#48952da96dfce82445b051d594d7bbf6">file::path</a>[1024] </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="kern__descrip_8h-source.html#l00095">95</a> of file <a class="el" href="kern__descrip_8h-source.html">kern_descrip.h</a>. <p> Referenced by <a class="el" href="vfs_8c-source.html#l00148">sys_open()</a>. </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>src/sys/include/sys/<a class="el" href="kern__descrip_8h-source.html">kern_descrip.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:26:46 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>