[#BIO_meth_set_write_ex]
= BIO&lowbar;meth&lowbar;set&lowbar;write&lowbar;ex
:mrdocs:

Install the size&lowbar;t&hyphen;based write callback on a BIO&lowbar;METHOD&period;

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;meth&lowbar;set&lowbar;write&lowbar;ex(
    xref:BIO_METHOD.adoc[BIO&lowbar;METHOD]* biom,
    int(* bwrite)(xref:BIO.adoc[BIO]*, char const*, size&lowbar;t, size&lowbar;t*));
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *biom*
| Method table to update&period;
| *bwrite*
| Callback implementing BIO&lowbar;write&lowbar;ex()&hyphen;style output&semi; may be NULL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
