summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BUF_MEM_new.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/BUF_MEM_new.3')
-rw-r--r--src/lib/libcrypto/man/BUF_MEM_new.312
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/libcrypto/man/BUF_MEM_new.3 b/src/lib/libcrypto/man/BUF_MEM_new.3
index 609df41457..f658048a93 100644
--- a/src/lib/libcrypto/man/BUF_MEM_new.3
+++ b/src/lib/libcrypto/man/BUF_MEM_new.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: BUF_MEM_new.3,v 1.4 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: BUF_MEM_new.3,v 1.5 2016/11/10 14:34:18 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 10 2016 $
4.Dt BUF_MEM_NEW 3 4.Dt BUF_MEM_NEW 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -46,12 +46,10 @@ typedef struct buf_mem_st
46.Ed 46.Ed
47.Pp 47.Pp
48.Fa length 48.Fa length
49is the current size of the buffer in bytes, 49is the current size of the buffer in bytes;
50.Fa max 50.Fa max
51is the amount of memory allocated to the buffer. 51is the amount of memory allocated to the buffer.
52There are three functions which handle these and one 52There are three functions which handle these and one miscellaneous function.
53.Dq miscellaneous
54function.
55.Pp 53.Pp
56.Fn BUF_MEM_new 54.Fn BUF_MEM_new
57allocates a new buffer of zero size. 55allocates a new buffer of zero size.
@@ -92,7 +90,7 @@ returns the buffer or
92on error. 90on error.
93.Pp 91.Pp
94.Fn BUF_MEM_grow 92.Fn BUF_MEM_grow
95returns zero on error or the new size (i.e. 93returns zero on error or the new size (i.e.\&
96.Fa len ) . 94.Fa len ) .
97.Sh SEE ALSO 95.Sh SEE ALSO
98.Xr bio 3 96.Xr bio 3