diff options
Diffstat (limited to 'src/lib/libcrypto/man/BIO_s_fd.3')
-rw-r--r-- | src/lib/libcrypto/man/BIO_s_fd.3 | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/BIO_s_fd.3 b/src/lib/libcrypto/man/BIO_s_fd.3 index ee70c56a02..de5d5d7007 100644 --- a/src/lib/libcrypto/man/BIO_s_fd.3 +++ b/src/lib/libcrypto/man/BIO_s_fd.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: BIO_s_fd.3,v 1.11 2023/04/11 16:58:43 schwarze Exp $ | 1 | .\" $OpenBSD: BIO_s_fd.3,v 1.12 2023/04/29 12:04:54 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 | .\" | 3 | .\" |
4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
@@ -65,7 +65,7 @@ | |||
65 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 65 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
66 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 66 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
67 | .\" | 67 | .\" |
68 | .Dd $Mdocdate: April 11 2023 $ | 68 | .Dd $Mdocdate: April 29 2023 $ |
69 | .Dt BIO_S_FD 3 | 69 | .Dt BIO_S_FD 3 |
70 | .Os | 70 | .Os |
71 | .Sh NAME | 71 | .Sh NAME |
@@ -201,10 +201,19 @@ manual pages. | |||
201 | File descriptor BIOs should not be used for socket I/O. | 201 | File descriptor BIOs should not be used for socket I/O. |
202 | Use socket BIOs instead. | 202 | Use socket BIOs instead. |
203 | .Pp | 203 | .Pp |
204 | .Fn BIO_set_fd | 204 | .Xr BIO_ctrl 3 |
205 | and | 205 | .Fa cmd |
206 | .Fn BIO_get_fd | 206 | arguments correspond to macros as follows: |
207 | are implemented as macros. | 207 | .Bl -column BIO_CTRL_GET_CLOSE BIO_get_close(3) -offset 3n |
208 | .It Fa cmd No constant Ta corresponding macro | ||
209 | .It Dv BIO_C_FILE_SEEK Ta Xr BIO_seek 3 | ||
210 | .It Dv BIO_C_FILE_TELL Ta Xr BIO_tell 3 | ||
211 | .It Dv BIO_C_GET_FD Ta Fn BIO_get_fd | ||
212 | .It Dv BIO_C_SET_FD Ta Fn BIO_set_fd | ||
213 | .It Dv BIO_CTRL_GET_CLOSE Ta Xr BIO_get_close 3 | ||
214 | .It Dv BIO_CTRL_RESET Ta Xr BIO_reset 3 | ||
215 | .It Dv BIO_CTRL_SET_CLOSE Ta Xr BIO_set_close 3 | ||
216 | .El | ||
208 | .Sh RETURN VALUES | 217 | .Sh RETURN VALUES |
209 | .Fn BIO_s_fd | 218 | .Fn BIO_s_fd |
210 | returns the file descriptor BIO method. | 219 | returns the file descriptor BIO method. |