ame(out, &quot;filename.txt&quot;) &lt;= 0)
     /* Error */
 BIO_printf(out, &quot;Hello World\n&quot;);
 BIO_free(out);</code></pre>

<h1 id="BUGS">BUGS</h1>

<p>BIO_reset() and BIO_seek() are implemented using fseek() on the underlying stream. The return value for fseek() is 0 for success or -1 if an error occurred this differs from other types of BIO which will typically return 1 for success and a non positive value if an error occurred.</p>

<h1 id="SEE-ALSO">SEE ALSO</h1>

<p><a href="../man3/BIO_seek