summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/BIO_s_file.3
diff options
context:
space:
mode:
authorschwarze <>2023-04-29 13:06:10 +0000
committerschwarze <>2023-04-29 13:06:10 +0000
commit754dd8cc01c6b74e180955f785d4cf88f725dfe1 (patch)
tree098388fbf89b9e0ae4b253a9d2cc7b5b46738a61 /src/lib/libcrypto/man/BIO_s_file.3
parent429e1d506823cfc559b96d1a4e76473571320d8e (diff)
downloadopenbsd-754dd8cc01c6b74e180955f785d4cf88f725dfe1.tar.gz
openbsd-754dd8cc01c6b74e180955f785d4cf88f725dfe1.tar.bz2
openbsd-754dd8cc01c6b74e180955f785d4cf88f725dfe1.zip
Mention a few standard BIO_ctrl(3) command constants
that provide type-specific functionality here. While here, fix some wrong return types in the SYNOPSIS.
Diffstat (limited to 'src/lib/libcrypto/man/BIO_s_file.3')
-rw-r--r--src/lib/libcrypto/man/BIO_s_file.319
1 files changed, 13 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_file.3 b/src/lib/libcrypto/man/BIO_s_file.3
index 00a30e5c5f..ad1e8e64ce 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.14 2023/04/28 16:49:00 schwarze Exp $ 1.\" $OpenBSD: BIO_s_file.3,v 1.15 2023/04/29 13:06:10 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.\"
@@ -66,7 +66,7 @@
66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 66.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
67.\" OF THE POSSIBILITY OF SUCH DAMAGE. 67.\" OF THE POSSIBILITY OF SUCH DAMAGE.
68.\" 68.\"
69.Dd $Mdocdate: April 28 2023 $ 69.Dd $Mdocdate: April 29 2023 $
70.Dt BIO_S_FILE 3 70.Dt BIO_S_FILE 3
71.Os 71.Os
72.Sh NAME 72.Sh NAME
@@ -108,22 +108,22 @@
108.Fa "BIO *b" 108.Fa "BIO *b"
109.Fa "FILE **fpp" 109.Fa "FILE **fpp"
110.Fc 110.Fc
111.Ft int 111.Ft long
112.Fo BIO_read_filename 112.Fo BIO_read_filename
113.Fa "BIO *b" 113.Fa "BIO *b"
114.Fa "char *name" 114.Fa "char *name"
115.Fc 115.Fc
116.Ft int 116.Ft long
117.Fo BIO_write_filename 117.Fo BIO_write_filename
118.Fa "BIO *b" 118.Fa "BIO *b"
119.Fa "char *name" 119.Fa "char *name"
120.Fc 120.Fc
121.Ft int 121.Ft long
122.Fo BIO_append_filename 122.Fo BIO_append_filename
123.Fa "BIO *b" 123.Fa "BIO *b"
124.Fa "char *name" 124.Fa "char *name"
125.Fc 125.Fc
126.Ft int 126.Ft long
127.Fo BIO_rw_filename 127.Fo BIO_rw_filename
128.Fa "BIO *b" 128.Fa "BIO *b"
129.Fa "char *name" 129.Fa "char *name"
@@ -241,9 +241,16 @@ The following
241constants correspond to macros: 241constants correspond to macros:
242.Bl -column BIO_C_GET_FILE_PTR "corresponding macro" -offset 3n 242.Bl -column BIO_C_GET_FILE_PTR "corresponding macro" -offset 3n
243.It Fa cmd No constant Ta corresponding macro 243.It Fa cmd No constant Ta corresponding macro
244.It Dv BIO_C_FILE_SEEK Ta Xr BIO_seek 3
245.It Dv BIO_C_FILE_TELL Ta Xr BIO_tell 3
244.It Dv BIO_C_GET_FILE_PTR Ta Fn BIO_get_fp 246.It Dv BIO_C_GET_FILE_PTR Ta Fn BIO_get_fp
245.It Dv BIO_C_SET_FILE_PTR Ta Fn BIO_set_fp 247.It Dv BIO_C_SET_FILE_PTR Ta Fn BIO_set_fp
246.It Dv BIO_C_SET_FILENAME Ta various, see below 248.It Dv BIO_C_SET_FILENAME Ta various, see below
249.It Dv BIO_CTRL_EOF Ta Xr BIO_eof 3
250.It Dv BIO_CTRL_FLUSH Ta Xr BIO_flush 3
251.It Dv BIO_CTRL_GET_CLOSE Ta Xr BIO_get_close 3
252.It Dv BIO_CTRL_RESET Ta Xr BIO_reset 3
253.It Dv BIO_CTRL_SET_CLOSE Ta Xr BIO_set_close 3
247.El 254.El
248.Pp 255.Pp
249The meaning of 256The meaning of