diff options
Diffstat (limited to 'src/lib/libcrypto/man/BUF_MEM_new.3')
-rw-r--r-- | src/lib/libcrypto/man/BUF_MEM_new.3 | 12 |
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 |
49 | is the current size of the buffer in bytes, | 49 | is the current size of the buffer in bytes; |
50 | .Fa max | 50 | .Fa max |
51 | is the amount of memory allocated to the buffer. | 51 | is the amount of memory allocated to the buffer. |
52 | There are three functions which handle these and one | 52 | There are three functions which handle these and one miscellaneous function. |
53 | .Dq miscellaneous | ||
54 | function. | ||
55 | .Pp | 53 | .Pp |
56 | .Fn BUF_MEM_new | 54 | .Fn BUF_MEM_new |
57 | allocates a new buffer of zero size. | 55 | allocates a new buffer of zero size. |
@@ -92,7 +90,7 @@ returns the buffer or | |||
92 | on error. | 90 | on error. |
93 | .Pp | 91 | .Pp |
94 | .Fn BUF_MEM_grow | 92 | .Fn BUF_MEM_grow |
95 | returns zero on error or the new size (i.e. | 93 | returns 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 |