=pod =head1 NAME BIO_ctrl_pending - Find out how much bytes are buffered in a BIO =head1 SYNOPSIS #include size_t BIO_ctrl_pending(BIO *bio); =head1 DESCRIPTION BIO_ctrl_pending() returns the number of bytes buffered in a BIO. =head1 BUGS When B is NULL, the OpenSSL library calls assert(). =head1 RETURN VALUES The following return values can occur: =over 4 =item E=0 The number of bytes pending the BIO. =back =head1 SEE ALSO L, L, L