Read a line from a BIO into buf (NUL-terminated; strips trailing newline when present).
Number of bytes read (excluding NUL), 0 on EOF, or a negative value on error.
| Name | Description |
|---|---|
| bp | Source BIO. |
| buf | Destination buffer. |
| size | Capacity of buf in bytes. |