X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fman3%2FBIO_s_mem.pod;fp=doc%2Fman3%2FBIO_s_mem.pod;h=050d7786a6cf7564bfd10a0b0983832b4e8dafc0;hb=36359ceca02671e0835a9712232eaf906caa6c9d;hp=b55ecbfef4f65a78fc7131ea812aa85a1ad0dca2;hpb=72983c0eab750dfc1b6298c516df7afb1a73ba54;p=openssl.git diff --git a/doc/man3/BIO_s_mem.pod b/doc/man3/BIO_s_mem.pod index b55ecbfef4..050d7786a6 100644 --- a/doc/man3/BIO_s_mem.pod +++ b/doc/man3/BIO_s_mem.pod @@ -56,14 +56,14 @@ zero then it will return B when it is empty and it will set the read retry flag (that is BIO_read_retry(b) is true). To avoid ambiguity with a normal positive return value B should be set to a negative value, typically -1. -BIO_get_mem_data() sets B to a pointer to the start of the memory BIOs data +BIO_get_mem_data() sets *B to a pointer to the start of the memory BIOs data and returns the total amount of data available. It is implemented as a macro. BIO_set_mem_buf() sets the internal BUF_MEM structure to B and sets the close flag to B, that is B should be either BIO_CLOSE or BIO_NOCLOSE. It is a macro. -BIO_get_mem_ptr() places the underlying BUF_MEM structure in B. It is +BIO_get_mem_ptr() places the underlying BUF_MEM structure in *B. It is a macro. BIO_new_mem_buf() creates a memory BIO using B bytes of data at B,