Newer
Older
ubixos / doc / html / da / d3e / pipe_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: include/sys/pipe.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('da/d3e/pipe_8h.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">pipe.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../db/dd5/thread_8h_source.html">sys/thread.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="../../d3/d7e/sysproto__posix_8h_source.html">sys/sysproto_posix.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for pipe.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/d0f/pipe_8h__incl.png" border="0" usemap="#include_2sys_2pipe_8h" alt=""/></div>
<map name="include_2sys_2pipe_8h" id="include_2sys_2pipe_8h">
<area shape="rect" title=" " alt="" coords="697,5,823,32"/>
<area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="758,229,853,256"/>
<area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="632,80,779,107"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="561,453,652,480"/>
<area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="843,304,923,331"/>
<area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="675,304,767,331"/>
<area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="902,453,1010,480"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="694,677,791,704"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="560,528,653,555"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="314,603,403,629"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="733,603,851,629"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="427,603,533,629"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="557,603,657,629"/>
<area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="841,379,924,405"/>
<area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="522,155,590,181"/>
<area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="5,379,128,405"/>
<area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="303,229,385,256"/>
<area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="478,304,549,331"/>
<area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="512,229,600,256"/>
<area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="243,304,341,331"/>
<area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="365,304,453,331"/>
<area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="65,304,167,331"/>
<area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="403,379,498,405"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/df4/pipe_8h__dep__incl.png" border="0" usemap="#include_2sys_2pipe_8hdep" alt=""/></div>
<map name="include_2sys_2pipe_8hdep" id="include_2sys_2pipe_8hdep">
<area shape="rect" title=" " alt="" coords="142,5,269,32"/>
<area shape="rect" href="../../d6/dba/kern__pipe_8c.html" title=" " alt="" coords="5,80,133,107"/>
<area shape="rect" href="../../d1/d47/pipe_8c.html" title=" " alt="" coords="157,80,253,107"/>
<area shape="rect" href="../../d7/d42/vfs__calls_8c.html" title=" " alt="" coords="278,80,399,107"/>
</map>
</div>
</div>
<p><a href="../../da/d3e/pipe_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dd5/structpipeBuf.html">pipeBuf</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/da9/structpipeInfo.html">pipeInfo</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a476208212b5dff10a39e8039c8eead6d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d3e/pipe_8h.html#a476208212b5dff10a39e8039c8eead6d">pipe</a> (struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *, struct <a class="el" href="../../da/db0/structpipe__args.html">pipe_args</a> *)</td></tr>
<tr class="separator:a476208212b5dff10a39e8039c8eead6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a476208212b5dff10a39e8039c8eead6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a476208212b5dff10a39e8039c8eead6d">&#9670;&nbsp;</a></span>pipe()</h2>

<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="../../d3/dc5/structthread.html">thread</a> *&#160;</td>
          <td class="paramname"><em>td</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="../../da/db0/structpipe__args.html">pipe_args</a> *&#160;</td>
          <td class="paramname"><em>uap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>HACK </p>

<p class="definition">Definition at line <a class="el" href="../../d1/d47/pipe_8c_source.html#l00039">39</a> of file <a class="el" href="../../d1/d47/pipe_8c_source.html">pipe.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/df4/descrip_8h_source.html#l00068">file::f_flag</a>, <a class="el" href="../../d2/d3f/descrip_8c_source.html#l00097">falloc()</a>, <a class="el" href="../../d3/df4/descrip_8h_source.html#l00071">file::fd</a>, <a class="el" href="../../d7/d9f/fcntl_8h_source.html#l00047">FREAD</a>, <a class="el" href="../../d7/d9f/fcntl_8h_source.html#l00048">FWRITE</a>, and <a class="el" href="../../db/dd5/thread_8h_source.html#l00041">thread::td_retval</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../da/d3e/pipe_8h_a476208212b5dff10a39e8039c8eead6d_cgraph.png" border="0" usemap="#da/d3e/pipe_8h_a476208212b5dff10a39e8039c8eead6d_cgraph" alt=""/></div>
<map name="da/d3e/pipe_8h_a476208212b5dff10a39e8039c8eead6d_cgraph" id="da/d3e/pipe_8h_a476208212b5dff10a39e8039c8eead6d_cgraph">
<area shape="rect" title=" " alt="" coords="5,31,52,57"/>
<area shape="rect" href="../../d3/df4/descrip_8h.html#a434fb15226182b0ee879a5afe9a8c190" title=" " alt="" coords="100,31,152,57"/>
<area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="208,5,259,32"/>
<area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="200,56,267,83"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="315,56,389,83"/>
<area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="438,31,529,57"/>
<area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="437,81,529,108"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_317ea3797c15f4a1d9c156bc812661ca.html">sys</a></li><li class="navelem"><a class="el" href="../../da/d3e/pipe_8h.html">pipe.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>