5 BIO_ctrl_pending - Find out how much bytes are buffered in a BIO
9 #include <openssl/bio.h>
11 size_t BIO_ctrl_pending(BIO *bio);
15 BIO_ctrl_pending() returns the number of bytes buffered in a BIO.
19 When B<bio> is NULL, the OpenSSL library calls assert().
23 The following return values can occur:
29 The number of bytes pending the BIO.
35 L<bio(3)|bio(3)>, L<BIO_s_mem(3)|BIO_s_mem(3)>,
36 L<BIO_new_bio_pair(3)|BIO_new_bio_pair(3)>