[#BIO_get_line] = BIO_get_line :mrdocs: Read bytes until a newline or EOF, without requiring a trailing NUL in the source. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BIO_get_line( xref:BIO.adoc[BIO]* bio, char* buf, int size); ---- == Return Value Number of bytes stored, 0 on EOF with no data, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *bio* | Source BIO. | *buf* | Destination buffer. | *size* | Capacity of `buf` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#