1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>splice_direct_to_actor</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="splice.html" title="Chapter 7. splice API"><link rel="prev" href="API-generic-splice-sendpage.html" title="generic_splice_sendpage"><link rel="next" href="API-do-splice-direct.html" title="do_splice_direct"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">splice_direct_to_actor</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-generic-splice-sendpage.html">Prev</a> </td><th width="60%" align="center">Chapter 7. splice API</th><td width="20%" align="right"> <a accesskey="n" href="API-do-splice-direct.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-splice-direct-to-actor"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>splice_direct_to_actor — 2 splices data directly between two non-pipes 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">ssize_t <b class="fsfunc">splice_direct_to_actor </b>(</code></td><td>struct file * <var class="pdparam">in</var>, </td></tr><tr><td> </td><td>struct splice_desc * <var class="pdparam">sd</var>, </td></tr><tr><td> </td><td>splice_direct_actor * <var class="pdparam">actor</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1104097764"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>in</code></em></span></dt><dd><p> 4 file to splice from 5 </p></dd><dt><span class="term"><em class="parameter"><code>sd</code></em></span></dt><dd><p> 6 actor information on where to splice to 7 </p></dd><dt><span class="term"><em class="parameter"><code>actor</code></em></span></dt><dd><p> 8 handles the data splicing 9 </p></dd></dl></div></div><div class="refsect1"><a name="idp1104101420"></a><h2>Description</h2><p> 10 This is a special case helper to splice directly between two 11 points, without requiring an explicit pipe. Internally an allocated 12 pipe is cached in the process, and reused during the lifetime of 13 that process. 14</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-generic-splice-sendpage.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="splice.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-do-splice-direct.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">generic_splice_sendpage</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">do_splice_direct</span></td></tr></table></div></body></html> 15