summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_push.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/BIO_push.3')
-rw-r--r--src/lib/libcrypto/man/BIO_push.323
1 files changed, 18 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/BIO_push.3 b/src/lib/libcrypto/man/BIO_push.3
index 42afc7659a..5b9e94123f 100644
--- a/src/lib/libcrypto/man/BIO_push.3
+++ b/src/lib/libcrypto/man/BIO_push.3
@@ -1,5 +1,6 @@
1.\" $OpenBSD: BIO_push.3,v 1.4 2016/11/18 18:52:11 schwarze Exp $ 1.\" $OpenBSD: BIO_push.3,v 1.5 2016/12/06 12:54:19 schwarze Exp $
2.\" OpenSSL 76ed5a42 Jun 29 13:38:55 2014 +0100 2.\" OpenSSL doc/man3/BIO_push.pod 76ed5a42 Jun 29 13:38:55 2014 +0100
3.\" OpenSSL doc/man7/bio.pod a9c85cea Nov 11 09:33:55 2016 +0100
3.\" 4.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 5.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
5.\" Copyright (c) 2000, 2014 The OpenSSL Project. All rights reserved. 6.\" Copyright (c) 2000, 2014 The OpenSSL Project. All rights reserved.
@@ -48,7 +49,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 51.\"
51.Dd $Mdocdate: November 18 2016 $ 52.Dd $Mdocdate: December 6 2016 $
52.Dt BIO_PUSH 3 53.Dt BIO_PUSH 3
53.Os 54.Os
54.Sh NAME 55.Sh NAME
@@ -67,6 +68,13 @@
67.Fa "BIO *b" 68.Fa "BIO *b"
68.Fc 69.Fc
69.Sh DESCRIPTION 70.Sh DESCRIPTION
71BIOs can be joined together to form chains.
72A chain normally consist of one or more filter BIOs
73and one source/sink BIO at the end.
74Data read from or written to the first BIO traverses the chain
75to the end.
76A single BIO can be regarded as a chain with one component.
77.Pp
70The 78The
71.Fn BIO_push 79.Fn BIO_push
72function appends the BIO 80function appends the BIO
@@ -97,8 +105,9 @@ The process of calling
97.Fn BIO_push 105.Fn BIO_push
98and 106and
99.Fn BIO_pop 107.Fn BIO_pop
100on a BIO may have additional consequences: 108on a BIO may have additional consequences: a
101a control call is made to the affected BIOs. 109.Xr BIO_ctrl 3
110call is made to the affected BIOs.
102Any effects will be noted in the descriptions of individual BIOs. 111Any effects will be noted in the descriptions of individual BIOs.
103.Sh RETURN VALUES 112.Sh RETURN VALUES
104.Fn BIO_push 113.Fn BIO_push
@@ -163,3 +172,7 @@ and the new chain will be
163data can be written to 172data can be written to
164.Sy md1 173.Sy md1
165as before. 174as before.
175.Sh SEE ALSO
176.Xr BIO_find_type 3 ,
177.Xr BIO_new 3 ,
178.Xr BIO_read 3