diff options
author | schwarze <> | 2023-04-11 16:58:43 +0000 |
---|---|---|
committer | schwarze <> | 2023-04-11 16:58:43 +0000 |
commit | c43fe94c7ff45bf51a6a8867f10613de66776668 (patch) | |
tree | 9e9844b4dbe0220ef1b7dcfafbf2775501b09d3c /src/lib/libcrypto/man/BIO_s_file.3 | |
parent | f9622124faa5bc560181521c8a4a2e50668c6b1d (diff) | |
download | openbsd-c43fe94c7ff45bf51a6a8867f10613de66776668.tar.gz openbsd-c43fe94c7ff45bf51a6a8867f10613de66776668.tar.bz2 openbsd-c43fe94c7ff45bf51a6a8867f10613de66776668.zip |
Document the RETURN VALUES of BIO_method_type(3) and BIO_method_name(3)
for the various BIO types.
Diffstat (limited to 'src/lib/libcrypto/man/BIO_s_file.3')
-rw-r--r-- | src/lib/libcrypto/man/BIO_s_file.3 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_file.3 b/src/lib/libcrypto/man/BIO_s_file.3 index 3b256dbcf7..9f82ba5b80 100644 --- a/src/lib/libcrypto/man/BIO_s_file.3 +++ b/src/lib/libcrypto/man/BIO_s_file.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: BIO_s_file.3,v 1.11 2018/12/19 20:30:09 schwarze Exp $ | 1 | .\" $OpenBSD: BIO_s_file.3,v 1.12 2023/04/11 16:58:43 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 2 | .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
3 | .\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100 | 3 | .\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100 |
4 | .\" | 4 | .\" |
@@ -49,7 +49,7 @@ | |||
49 | .\" 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 |
50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 50 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
51 | .\" | 51 | .\" |
52 | .Dd $Mdocdate: December 19 2018 $ | 52 | .Dd $Mdocdate: April 11 2023 $ |
53 | .Dt BIO_S_FILE 3 | 53 | .Dt BIO_S_FILE 3 |
54 | .Os | 54 | .Os |
55 | .Sh NAME | 55 | .Sh NAME |
@@ -227,6 +227,15 @@ return a file BIO or | |||
227 | .Dv NULL | 227 | .Dv NULL |
228 | if an error occurred. | 228 | if an error occurred. |
229 | .Pp | 229 | .Pp |
230 | When called on a file BIO object, | ||
231 | .Xr BIO_method_type 3 | ||
232 | returns the constant | ||
233 | .Dv BIO_TYPE_FILE | ||
234 | and | ||
235 | .Xr BIO_method_name 3 | ||
236 | returns a pointer to the static string | ||
237 | .Qq FILE pointer . | ||
238 | .Pp | ||
230 | .Fn BIO_set_fp | 239 | .Fn BIO_set_fp |
231 | and | 240 | and |
232 | .Fn BIO_get_fp | 241 | .Fn BIO_get_fp |