Open filename and wrap it in a BIO_s_file() BIO.

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_new_file(
    char const* filename,
    char const* mode);

Return Value

New file BIO, or NULL on error.

Parameters

Name

Description

filename

Path to open.

mode

stdio‐style mode string (for example "r" or "w").

Created with MrDocs