Hi,<br>  You will find &quot;bosWrite&quot; in package bosio. <br><br>Jixie<br><br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 2:57 AM, Craig Bookwalter &lt;<a href="mailto:craigb@jlab.org">craigb@jlab.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote">That sounds tantalizing! What header file is in? I grepped for it in the<br>
SVN include directory:<br>
<br>
/group/clas/builds/32bit/STABLE/include<br>
<br>
but nothing came up...<br>
<br>
Gagik Gavalian wrote:<br>
&gt; Dear Craig,<br>
&gt;<br>
&gt; It is done by using the function:<br>
&gt;<br>
&gt; bosWrite(bosFileHandleOut,bcs_.iw,&quot;0&quot;);<br>
&gt;<br>
&gt; The &quot;0&quot; passed as a list argument flushes the memory into the disk !<br>
&gt;<br>
&gt; Hope this is helpful<br>
&gt;<br>
&gt; Gagik<br>
<div><div></div><div class="h5">&gt;<br>
&gt; On Sep 2, 2010, at 2:45 PM, Craig Bookwalter wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; Hi offliners,<br>
&gt;&gt;    Thanks again for the help with the GSIM issue--I have another<br>
&gt;&gt; question for everyone. Does anyone know offhand a C function call that<br>
&gt;&gt; will force BOS banks currently stored in memory to be written to the<br>
&gt;&gt; file? I&#39;ve found (especially during this GSIM study) that it&#39;s pretty<br>
&gt;&gt; hard, if not impossible, to write out a BOS file with less than 15<br>
&gt;&gt; events, and it seems like it&#39;s just a buffer that isn&#39;t flushed before<br>
&gt;&gt; the program exits. I believe Dennis was having trouble with this when he<br>
&gt;&gt; was using part2gamp before, but I don&#39;t recall if he sent his troubles<br>
&gt;&gt; to clas_offline or just to the g12 list.<br>
&gt;&gt;<br>
&gt;&gt; Thanks again!!<br>
&gt;&gt;<br>
&gt;&gt; --cb<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; -------------------------------------------------------------------------<br>
&gt;&gt; Craig Bookwalter                     FSU Office:  (850) 644 3808<br>
&gt;&gt; Department of Physics                        JLab Office: (757) 269 5465<br>
&gt;&gt; Florida State University             <a href="mailto:craigb@hadron.physics.fsu.edu">craigb@hadron.physics.fsu.edu</a><br>
&gt;&gt; Tallahasse, FL 32306                 <a href="mailto:craigb@jlab.org">craigb@jlab.org</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &quot;One toke? You poor fool. Just wait till you see those (expletive) bats.&quot;<br>
&gt;&gt; -------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Clas_offline mailing list<br>
&gt;&gt; <a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
&gt;&gt; <a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
&gt;&gt;<br>
<br>
<br>
--<br>
-------------------------------------------------------------------------<br>
 Craig Bookwalter                       FSU Office:  (850) 644 3808<br>
 Department of Physics                  JLab Office: (757) 269 5465<br>
 Florida State University               <a href="mailto:craigb@hadron.physics.fsu.edu">craigb@hadron.physics.fsu.edu</a><br>
 Tallahasse, FL 32306                   <a href="mailto:craigb@jlab.org">craigb@jlab.org</a><br>
<br>
<br>
&quot;One toke? You poor fool. Just wait till you see those (expletive) bats.&quot;<br>
-------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Clas_offline mailing list<br>
<a href="mailto:Clas_offline@jlab.org">Clas_offline@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/clas_offline">https://mailman.jlab.org/mailman/listinfo/clas_offline</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Jixie Zhang<br>Jefferson Lab - Hall A - A112,<br>757-269-5352 <br>_______________________________________________<br>