Read bytes until a newline or EOF, without requiring a trailing NUL in the source.
Declared in <openssl/bio.h>
<openssl/bio.h>
int BIO_get_line( BIO* bio, char* buf, int size);
Number of bytes stored, 0 on EOF with no data, or a negative value on error.
buf