[#BIO_new_fp] = BIO_new_fp :mrdocs: Wrap a stdio FILE* in a BIO_s_file() BIO. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIO.adoc[BIO]* BIO_new_fp( FILE* stream, int close_flag); ---- == Return Value New file BIO, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *stream* | FILE handle to associate with the BIO. | *close_flag* | BIO_CLOSE to fclose `stream` when the BIO is freed, or BIO_NOCLOSE. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#