diff options
author | cvs2svn <admin@example.com> | 2015-08-02 21:54:22 +0000 |
---|---|---|
committer | cvs2svn <admin@example.com> | 2015-08-02 21:54:22 +0000 |
commit | ed3760bf4be4a96a89233fb8f8b84a0d44725862 (patch) | |
tree | 5609c82060f75c53af0a7641d9b33a88574876cd /src/lib/libssl/doc/SSL_get_fd.3 | |
parent | f8b563fb5ba1524c821d37308f4e6abfc866bc3f (diff) | |
download | openbsd-OPENBSD_5_8_BASE.tar.gz openbsd-OPENBSD_5_8_BASE.tar.bz2 openbsd-OPENBSD_5_8_BASE.zip |
This commit was manufactured by cvs2git to create tag 'OPENBSD_5_8_BASE'.OPENBSD_5_8_BASE
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_fd.3')
-rw-r--r-- | src/lib/libssl/doc/SSL_get_fd.3 | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/lib/libssl/doc/SSL_get_fd.3 b/src/lib/libssl/doc/SSL_get_fd.3 deleted file mode 100644 index b66b5f1044..0000000000 --- a/src/lib/libssl/doc/SSL_get_fd.3 +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | .\" | ||
2 | .\" $OpenBSD: SSL_get_fd.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | ||
3 | .\" | ||
4 | .Dd $Mdocdate: December 2 2014 $ | ||
5 | .Dt SSL_GET_FD 3 | ||
6 | .Os | ||
7 | .Sh NAME | ||
8 | .Nm SSL_get_fd , | ||
9 | .Nm SSL_get_rfd , | ||
10 | .Nm SSL_get_wfd | ||
11 | .Nd get file descriptor linked to an SSL object | ||
12 | .Sh SYNOPSIS | ||
13 | .In openssl/ssl.h | ||
14 | .Ft int | ||
15 | .Fn SSL_get_fd "const SSL *ssl" | ||
16 | .Ft int | ||
17 | .Fn SSL_get_rfd "const SSL *ssl" | ||
18 | .Ft int | ||
19 | .Fn SSL_get_wfd "const SSL *ssl" | ||
20 | .Sh DESCRIPTION | ||
21 | .Fn SSL_get_fd | ||
22 | returns the file descriptor which is linked to | ||
23 | .Fa ssl . | ||
24 | .Fn SSL_get_rfd | ||
25 | and | ||
26 | .Fn SSL_get_wfd | ||
27 | return the file descriptors for the read or the write channel, | ||
28 | which can be different. | ||
29 | If the read and the write channel are different, | ||
30 | .Fn SSL_get_fd | ||
31 | will return the file descriptor of the read channel. | ||
32 | .Sh RETURN VALUES | ||
33 | The following return values can occur: | ||
34 | .Bl -tag -width Ds | ||
35 | .It \(mi1 | ||
36 | The operation failed, because the underlying | ||
37 | .Vt BIO | ||
38 | is not of the correct type (suitable for file descriptors). | ||
39 | .It \(>=0 | ||
40 | The file descriptor linked to | ||
41 | .Fa ssl . | ||
42 | .El | ||
43 | .Sh SEE ALSO | ||
44 | .Xr bio 3 , | ||
45 | .Xr ssl 3 , | ||
46 | .Xr SSL_set_fd 3 | ||