Hi,<br> You will find "bosWrite" in package bosio. <br><br>Jixie<br><br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 2:57 AM, Craig Bookwalter <<a href="mailto:craigb@jlab.org">craigb@jlab.org</a>> 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>
> Dear Craig,<br>
><br>
> It is done by using the function:<br>
><br>
> bosWrite(bosFileHandleOut,bcs_.iw,"0");<br>
><br>
> The "0" passed as a list argument flushes the memory into the disk !<br>
><br>
> Hope this is helpful<br>
><br>
> Gagik<br>
<div><div></div><div class="h5">><br>
> On Sep 2, 2010, at 2:45 PM, Craig Bookwalter wrote:<br>
><br>
><br>
>> Hi offliners,<br>
>> Thanks again for the help with the GSIM issue--I have another<br>
>> question for everyone. Does anyone know offhand a C function call that<br>
>> will force BOS banks currently stored in memory to be written to the<br>
>> file? I've found (especially during this GSIM study) that it's pretty<br>
>> hard, if not impossible, to write out a BOS file with less than 15<br>
>> events, and it seems like it's just a buffer that isn't flushed before<br>
>> the program exits. I believe Dennis was having trouble with this when he<br>
>> was using part2gamp before, but I don't recall if he sent his troubles<br>
>> to clas_offline or just to the g12 list.<br>
>><br>
>> Thanks again!!<br>
>><br>
>> --cb<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>
>> "One toke? You poor fool. Just wait till you see those (expletive) bats."<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>
>><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>
"One toke? You poor fool. Just wait till you see those (expletive) bats."<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>