[#BIO_new_fd] = BIO_new_fd :mrdocs: Create a file‐descriptor BIO wrapping an existing OS descriptor. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIO.adoc[BIO]* BIO_new_fd( int fd, int close_flag); ---- == Return Value Newly allocated fd BIO, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *fd* | File descriptor to wrap. | *close_flag* | BIO_CLOSE to close `fd` on BIO_free(), or BIO_NOCLOSE. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#