() set the file BIO <b>b</b> to use file <b>name</b> for reading, writing, append or read write respectively.</p>

<h1 id="NOTES">NOTES</h1>

<p>When wrapping stdout, stdin or stderr the underlying stream should not normally be closed so the BIO_NOCLOSE flag should be set.</p>

<p>Because the file BIO calls the underlying stdio functions any quirks in stdio behaviour will be mirrored by the corresponding BIO.</p>

<p>On Windows BIO_new_files reserves for the filename argument to be UTF-8 encoded. In other w