Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ BIO_ctrl_get_read_request(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bio(3)

BIO_s_mem(3)

BIO_new_bio_pair(3)

BIO_ctrl_get_read_request(3)  —  Subroutines

NAME

BIO_ctrl_get_read_request − Find out how many bytes were requested from the BIO

SYNOPSIS

#include <openssl/bio.h>
size_t BIO_ctrl_get_read_request(
        BIO ∗bio );

DESCRIPTION

The BIO_ctrl_get_read_request() function returns the number of bytes that were last requested from bio by a BIO_read() operation. This is useful for BIO pairs, for example, so that the application knows how many bytes to supply to bio. 

NOTES

When bio is NULL, the OpenSSL library calls assert(). 

RETURN VALUES

The following return values can occur:

>=0The number of bytes requested. 

SEE ALSO

Functions: bio(3), BIO_s_mem(3), BIO_new_bio_pair(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026