Newer
Older
ubix2 / doc / html / pipe_8c.html
@reddawg reddawg on 5 Dec 2006 4 KB More syscalls implimented
<!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/pipe.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="namespaces.html"><span>Namespaces</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>pipe.c File Reference</h1><code>#include &lt;<a class="el" href="include_2ubixos_2types_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="pipe_8h-source.html">sys/pipe.h</a>&gt;</code><br>
<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="kprintf_8h-source.html">lib/kprintf.h</a>&gt;</code><br>
<code>#include &lt;<a class="el" href="assert_8h-source.html">assert.h</a>&gt;</code><br>

<p>
<a href="pipe_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="pipe_8c.html#cbd82ee803ba9432a295a8e2a0a3f249">pipe</a> (struct <a class="el" href="structthread.html">thread</a> *td, struct <a class="el" href="structpipe__args.html">pipe_args</a> *uap)</td></tr>

</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="cbd82ee803ba9432a295a8e2a0a3f249"></a><!-- doxytag: member="pipe.c::pipe" ref="cbd82ee803ba9432a295a8e2a0a3f249" args="(struct thread *td, struct pipe_args *uap)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int pipe           </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="structpipe__args.html">pipe_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>
HACK 
<p>
Definition at line <a class="el" href="pipe_8c-source.html#l00041">41</a> of file <a class="el" href="pipe_8c-source.html">pipe.c</a>.
<p>
References <a class="el" href="kern__descrip_8h-source.html#l00092">file::f_flag</a>, <a class="el" href="kern__descrip_8c-source.html#l00063">falloc()</a>, <a class="el" href="kern__descrip_8h-source.html#l00052">FREAD</a>, <a class="el" href="kern__descrip_8h-source.html#l00053">FWRITE</a>, and <a class="el" href="thread_8h-source.html#l00036">thread::td_retval</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 5 23:35:01 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>