BIO_ctrl_pending(3) — Subroutines
NAME
BIO_ctrl_pending − Find out how many bytes are buffered in a BIO
SYNOPSIS
#include <openssl/bio.h>
size_t BIO_ctrl_pending(
BIO ∗bio );
DESCRIPTION
The BIO_ctrl_pending() function returns the number of bytes buffered in a BIO.
NOTES
When bio is NULL, the OpenSSL library calls assert().
RETURN VALUES
The following return values can occur:
>=0The number of bytes pending the BIO.
SEE ALSO
Functions: bio(3), BIO_s_mem(3), BIO_new_bio_pair(3)