Newer
Older
UbixOS / doc / html / kern__descrip_8c.html
<!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: src/sys/kernel/kern_descrip.c File 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&nbsp;Page</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><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>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_7efffd2b1fae7bb6f2aa85845c863494.html">kernel</a></div>
<h1>kern_descrip.c File Reference</h1><code>#include &lt;<a class="el" href="kern__descrip_8h-source.html">sys/kern_descrip.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="types_8h-source.html">ubixos/types.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="sysproto_8h-source.html">sys/sysproto.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="thread_8h-source.html">sys/thread.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kprintf_8h-source.html">lib/kprintf.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="endtask_8h-source.html">ubixos/endtask.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="kmalloc_8h-source.html">lib/kmalloc.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="assert_8h-source.html">assert.h</a>&gt;</code><br>

<p>
Include dependency graph for kern_descrip.c:<p><center><img src="kern__descrip_8c__incl.png" border="0" usemap="#src/sys/kernel/kern_descrip.c_map" alt=""></center>
<map name="src/sys/kernel/kern_descrip.c_map">
<area href="kern__descrip_8h.html" shape="rect" coords="270,196,416,223" alt="">
<area href="thread_8h.html" shape="rect" coords="640,157,744,184" alt="">
<area href="types_8h.html" shape="rect" coords="796,259,916,285" alt="">
<area href="sysproto_8h.html" shape="rect" coords="468,107,586,133" alt="">
<area href="kprintf_8h.html" shape="rect" coords="478,360,576,387" alt="">
<area href="endtask_8h.html" shape="rect" coords="275,259,411,285" alt="">
<area href="kmalloc_8h.html" shape="rect" coords="639,411,746,437" alt="">
<area href="assert_8h.html" shape="rect" coords="306,461,380,488" alt="">
<area href="file_8h.html" shape="rect" coords="652,208,732,235" alt="">
<area href="sched_8h.html" shape="rect" coords="466,259,588,285" alt="">
</map>

<p>
<a href="kern__descrip_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#ec14600d2aa9db1288f00704ba3a55d7">close</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structclose__args.html">close_args</a> *uap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#9c93ac280b559128027746bda7c5d6d4">falloc</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structfile.html">file</a> **resultfp, int *resultfd)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#4c1102e9a5b5c2be0c5e16d9b974a1a3">fcntl</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structfcntl__args.html">fcntl_args</a> *uap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#7c76b4ddffdfc9064786782334a40291">fstat</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structfstat__args.html">fstat_args</a> *uap)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#c26938ed109edd82077382276bc8258c">getdtablesize</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structgetdtablesize__args.html">getdtablesize_args</a> *uap)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return data table size  <a href="#c26938ed109edd82077382276bc8258c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#14e228d6e5391a882d3b20ff2466b2ac">getfd</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structfile.html">file</a> **fp, int fd)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get pointer to file fd in specified thread  <a href="#14e228d6e5391a882d3b20ff2466b2ac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kern__descrip_8c.html#899127227d8b9c9da3bcccc32332c749">ioctl</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structioctl__args.html">ioctl_args</a> *uap)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ioctl functionality not implimented yet  <a href="#899127227d8b9c9da3bcccc32332c749"></a><br></td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="ec14600d2aa9db1288f00704ba3a55d7"></a><!-- doxytag: member="kern_descrip.c::close" ref="ec14600d2aa9db1288f00704ba3a55d7" args="(struct thread *td, struct close_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int close           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structclose__args.html">close_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00090">90</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="sysproto_8h-source.html#l00109">close_args::fd</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="thread_8h-source.html#l00039">thread::o_files</a>, and <a class="el" href="thread_8h-source.html#l00038">thread::td_retval</a>.
<p>
Here is the call graph for this function:<p><center><img src="kern__descrip_8c_ec14600d2aa9db1288f00704ba3a55d7_cgraph.png" border="0" usemap="#kern__descrip_8c_ec14600d2aa9db1288f00704ba3a55d7_cgraph_map" alt=""></center>
<map name="kern__descrip_8c_ec14600d2aa9db1288f00704ba3a55d7_cgraph_map">
<area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="112,259,168,285" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="548,259,615,285" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="216,183,339,209" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="239,335,316,361" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="238,107,318,133" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="230,284,326,311" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="404,183,471,209" alt="">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="536,157,627,184" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="546,208,618,235" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="711,233,786,260" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="708,183,788,209" alt="">
<area href="sched_8h.html#08933fe6d593a1c78b9080359f15a0b7" shape="rect" coords="387,56,488,83" alt="">
<area href="spinlock_8h.html#8f9173fadeddafa01754d6cbcc630198" shape="rect" coords="699,107,798,133" alt="">
<area href="sched_8h.html#549a0c1cc47933fa045b200690965cbd" shape="rect" coords="551,56,612,83" alt="">
<area href="sched_8h.html#e969273d772018d111e1f0344eb550f8" shape="rect" coords="675,56,822,83" alt="">
<area href="sched_8h.html#086cc0adc0b6a3860ceeeb5bc5ea94ea" shape="rect" coords="679,5,818,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="9c93ac280b559128027746bda7c5d6d4"></a><!-- doxytag: member="kern_descrip.c::falloc" ref="9c93ac280b559128027746bda7c5d6d4" args="(struct thread *td, struct file **resultfp, int *resultfd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int falloc           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structfile.html">file</a> **&nbsp;</td>
          <td class="paramname"> <em>resultfp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>resultfd</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00067">67</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, and <a class="el" href="thread_8h-source.html#l00039">thread::o_files</a>.
<p>
Referenced by <a class="el" href="pipe_8c-source.html#l00041">pipe()</a>, and <a class="el" href="vfs_8c-source.html#l00148">sys_open()</a>.
<p>
Here is the call graph for this function:<p><center><img src="kern__descrip_8c_9c93ac280b559128027746bda7c5d6d4_cgraph.png" border="0" usemap="#kern__descrip_8c_9c93ac280b559128027746bda7c5d6d4_cgraph_map" alt=""></center>
<map name="kern__descrip_8c_9c93ac280b559128027746bda7c5d6d4_cgraph_map">
<area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="112,284,187,311" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="657,360,724,387" alt="">
<area href="kmalloc_8c.html#f6c4ea5cb961c72548d92ff65d7e33a4" shape="rect" coords="236,183,356,210" alt="">
<area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="651,208,731,235" alt="">
<area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="643,56,739,83" alt="">
<area href="kmalloc_8c.html#eb1c3f1ef8eb9063c2e5c4af488dd2d0" shape="rect" coords="235,310,357,336" alt="">
<area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="467,310,533,336" alt="">
<area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="461,158,539,184" alt="">
<area href="paging_8h.html#541f0b43826a40b9e978f5479080bb0e" shape="rect" coords="405,107,595,134" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="4c1102e9a5b5c2be0c5e16d9b974a1a3"></a><!-- doxytag: member="kern_descrip.c::fcntl" ref="4c1102e9a5b5c2be0c5e16d9b974a1a3" args="(struct thread *td, struct fcntl_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fcntl           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structfcntl__args.html">fcntl_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00039">39</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="sysproto_8h-source.html#l00088">fcntl_args::arg</a>, <a class="el" href="sysproto_8h-source.html#l00087">fcntl_args::cmd</a>, <a class="el" href="kern__descrip_8h-source.html#l00094">file::f_flag</a>, <a class="el" href="kern__descrip_8h-source.html#l00088">FCNTLFLAGS</a>, <a class="el" href="sysproto_8h-source.html#l00086">fcntl_args::fd</a>, <a class="el" href="kern__descrip_8h-source.html#l00090">FFLAGS</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="kern__descrip_8h-source.html#l00071">O_ACCMODE</a>, <a class="el" href="thread_8h-source.html#l00039">thread::o_files</a>, and <a class="el" href="thread_8h-source.html#l00038">thread::td_retval</a>.
<p>
Here is the call graph for this function:<p><center><img src="kern__descrip_8c_4c1102e9a5b5c2be0c5e16d9b974a1a3_cgraph.png" border="0" usemap="#kern__descrip_8c_4c1102e9a5b5c2be0c5e16d9b974a1a3_cgraph_map" alt=""></center>
<map name="kern__descrip_8c_4c1102e9a5b5c2be0c5e16d9b974a1a3_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="107,5,174,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="7c76b4ddffdfc9064786782334a40291"></a><!-- doxytag: member="kern_descrip.c::fstat" ref="7c76b4ddffdfc9064786782334a40291" args="(struct thread *td, struct fstat_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fstat           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structfstat__args.html">fstat_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00112">112</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="sysproto_8h-source.html#l00151">fstat_args::fd</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="thread_8h-source.html#l00039">thread::o_files</a>, <a class="el" href="sysproto_8h-source.html#l00152">fstat_args::sb</a>, <a class="el" href="kern__descrip_8h-source.html#l00127">stat::st_blksize</a>, <a class="el" href="kern__descrip_8h-source.html#l00108">stat::st_mode</a>, <a class="el" href="sched_8h-source.html#l00067">taskStruct::td</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>.
<p>
Here is the call graph for this function:<p><center><img src="kern__descrip_8c_7c76b4ddffdfc9064786782334a40291_cgraph.png" border="0" usemap="#kern__descrip_8c_7c76b4ddffdfc9064786782334a40291_cgraph_map" alt=""></center>
<map name="kern__descrip_8c_7c76b4ddffdfc9064786782334a40291_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="107,5,174,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="c26938ed109edd82077382276bc8258c"></a><!-- doxytag: member="kern_descrip.c::getdtablesize" ref="c26938ed109edd82077382276bc8258c" args="(struct thread *td, struct getdtablesize_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getdtablesize           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structgetdtablesize__args.html">getdtablesize_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
return data table size 
<p>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00103">103</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="thread_8h-source.html#l00035">O_FILES</a>, and <a class="el" href="thread_8h-source.html#l00038">thread::td_retval</a>.
<p>
Here is the call graph for this function:<p><center><img src="kern__descrip_8c_c26938ed109edd82077382276bc8258c_cgraph.png" border="0" usemap="#kern__descrip_8c_c26938ed109edd82077382276bc8258c_cgraph_map" alt=""></center>
<map name="kern__descrip_8c_c26938ed109edd82077382276bc8258c_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="168,5,235,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="14e228d6e5391a882d3b20ff2466b2ac"></a><!-- doxytag: member="kern_descrip.c::getfd" ref="14e228d6e5391a882d3b20ff2466b2ac" args="(struct thread *td, struct file **fp, int fd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int getfd           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structfile.html">file</a> **&nbsp;</td>
          <td class="paramname"> <em>fp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>fd</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get pointer to file fd in specified thread 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>returns fp </dd></dl>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00141">141</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, and <a class="el" href="thread_8h-source.html#l00039">thread::o_files</a>.
<p>
Referenced by <a class="el" href="gen__calls_8c-source.html#l00125">read()</a>.
<p>
Here is the call graph for this function:<p><center><img src="kern__descrip_8c_14e228d6e5391a882d3b20ff2466b2ac_cgraph.png" border="0" usemap="#kern__descrip_8c_14e228d6e5391a882d3b20ff2466b2ac_cgraph_map" alt=""></center>
<map name="kern__descrip_8c_14e228d6e5391a882d3b20ff2466b2ac_cgraph_map">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="112,5,179,32" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="899127227d8b9c9da3bcccc32332c749"></a><!-- doxytag: member="kern_descrip.c::ioctl" ref="899127227d8b9c9da3bcccc32332c749" args="(struct thread *td, struct ioctl_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ioctl           </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structthread.html">thread</a> *&nbsp;</td>
          <td class="paramname"> <em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structioctl__args.html">ioctl_args</a> *&nbsp;</td>
          <td class="paramname"> <em>uap</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
ioctl functionality not implimented yet 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>NULL for now </dd></dl>

<p>
Definition at line <a class="el" href="kern__descrip_8c-source.html#l00131">131</a> of file <a class="el" href="kern__descrip_8c-source.html">kern_descrip.c</a>.
<p>
References <a class="el" href="thread_8h-source.html#l00038">thread::td_retval</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:23:42 2006 for UbixOS V2 by&nbsp;
<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>