diff options
author | PW Hu <jlu.hpw@foxmail.com> | 2021-10-07 11:40:49 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-10-22 11:54:32 +0200 |
commit | d641ad51326e96b41f0490e2e3398d08e8f87557 (patch) | |
tree | c174999a3d0e37e9f74f99ec3676d9a724f957e9 /doc/man3/BIO_s_accept.pod | |
parent | ef3889e7a2e21e9acea3bc0927c22f962da36eed (diff) |
Fix documentation errors, mainly caused by return values of BIO_ctrl
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16767)
(cherry picked from commit 5001287c0dcd8ca4ffc564b360f86df79bba40c1)
Diffstat (limited to 'doc/man3/BIO_s_accept.pod')
-rw-r--r-- | doc/man3/BIO_s_accept.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man3/BIO_s_accept.pod b/doc/man3/BIO_s_accept.pod index e6f9291364..c3826a609f 100644 --- a/doc/man3/BIO_s_accept.pod +++ b/doc/man3/BIO_s_accept.pod @@ -169,16 +169,16 @@ BIO_set_bind_mode(), BIO_get_bind_mode() and BIO_do_accept() are macros. BIO_do_accept(), BIO_set_accept_name(), BIO_set_accept_port(), BIO_set_nbio_accept(), BIO_set_accept_bios(), BIO_set_accept_ip_family(), and BIO_set_bind_mode() -return 1 for success and 0 or -1 for failure. +return 1 for success and <=0 for failure. BIO_get_accept_name() returns the accept name or NULL on error. BIO_get_peer_name() returns the peer name or NULL on error. BIO_get_accept_port() returns the accept port as a string or NULL on error. BIO_get_peer_port() returns the peer port as a string or NULL on error. -BIO_get_accept_ip_family() returns the IP family or -1 on error. +BIO_get_accept_ip_family() returns the IP family or <=0 on error. -BIO_get_bind_mode() returns the set of B<BIO_BIND> flags, or -1 on failure. +BIO_get_bind_mode() returns the set of B<BIO_BIND> flags, or <=0 on failure. BIO_new_accept() returns a BIO or NULL on error. |