urrent file position or negative values for failure.</p>

<p>BIO_read_filename(), BIO_write_filename(), BIO_append_filename() and BIO_rw_filename() return 1 for success or &lt;=0 for failure.</p>

<h1 id="EXAMPLES">EXAMPLES</h1>

<p>File BIO &quot;hello world&quot;:</p>

<pre><code> BIO *bio_out;

 bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);
 BIO_printf(bio_out, &quot;Hello World\n&quot;);</code></pre>

<p>Alternative technique:</p>

<pre><code> BIO *bio_out;

 bio_out = BIO_new(BIO_s_file());
 if (bio_out =