Read a line from a BIO into buf (NUL‐terminated; strips trailing newline when present).
Synopsis
Declared in <openssl/bio.h>
int
BIO_gets(
BIO* bp,
char* buf,
int size);
Return Value
Number of bytes read (excluding NUL), 0 on EOF, or a negative value on error.
Parameters
Name |
Description |
bp |
Source BIO. |
buf |
Destination buffer. |
size |
Capacity of |
Created with MrDocs