[#BIO_puts]
= BIO&lowbar;puts
:mrdocs:

Write the NUL&hyphen;terminated string `buf` to BIO `bp&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;puts(
    xref:BIO.adoc[BIO]* bp,
    char const* buf);
----

== Return Value

Number of bytes written, or a negative value on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bp*
| Destination BIO&period;
| *buf*
| C string to write (excluding the terminating NUL)&period;
|===


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