summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_set_callback.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/BIO_set_callback.3')
-rw-r--r--src/lib/libcrypto/man/BIO_set_callback.313
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/BIO_set_callback.3 b/src/lib/libcrypto/man/BIO_set_callback.3
index 68ca2780f8..62b7b3773b 100644
--- a/src/lib/libcrypto/man/BIO_set_callback.3
+++ b/src/lib/libcrypto/man/BIO_set_callback.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: BIO_set_callback.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: BIO_set_callback.3,v 1.3 2016/11/07 15:52:47 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: November 7 2016 $
4.Dt BIO_SET_CALLBACK 3 4.Dt BIO_SET_CALLBACK 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -38,7 +38,7 @@
38.Fn BIO_set_callback 38.Fn BIO_set_callback
39and 39and
40.Fn BIO_get_callback 40.Fn BIO_get_callback
41set and retrieve the BIO callback, they are both macros. 41set and retrieve the BIO callback; they are both macros.
42The callback is called during most high level BIO operations. 42The callback is called during most high level BIO operations.
43It can be used for debugging purposes to trace operations on a BIO 43It can be used for debugging purposes to trace operations on a BIO
44or to modify its operation. 44or to modify its operation.
@@ -77,8 +77,8 @@ The meaning of the arguments
77and 77and
78.Fa argl 78.Fa argl
79depends on the value of 79depends on the value of
80.Fa oper , 80.Fa oper
81that is the operation being performed. 81(i.e. the operation being performed).
82.Pp 82.Pp
83.Fa retvalue 83.Fa retvalue
84is the return value that would be returned to the application 84is the return value that would be returned to the application
@@ -127,5 +127,6 @@ after.
127.Sh EXAMPLES 127.Sh EXAMPLES
128The 128The
129.Fn BIO_debug_callback 129.Fn BIO_debug_callback
130function is a good example, its source is in the file 130function is a good example.
131Its source is in the file
131.Pa crypto/bio/bio_cb.c . 132.Pa crypto/bio/bio_cb.c .