From 891c61d53b14acc52e45afdbf657db4af8a5fe4d Mon Sep 17 00:00:00 2001 From: naddy <> Date: Tue, 29 Mar 2022 18:15:52 +0000 Subject: man pages: add missing word, The foo() ... -> The foo() function ... ok jmc@ schwarze@ --- src/lib/libc/net/ether_aton.3 | 6 +++--- src/lib/libc/net/getifaddrs.3 | 6 +++--- src/lib/libc/net/inet6_opt_init.3 | 6 +++--- src/lib/libc/stdlib/rand.3 | 6 +++--- src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 | 11 ++++++----- 5 files changed, 18 insertions(+), 17 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libc/net/ether_aton.3 b/src/lib/libc/net/ether_aton.3 index 98beb5e492..358d7eed03 100644 --- a/src/lib/libc/net/ether_aton.3 +++ b/src/lib/libc/net/ether_aton.3 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ether_aton.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $ +.\" $OpenBSD: ether_aton.3,v 1.2 2022/03/29 18:15:52 naddy Exp $ .\" .\" Written by roland@frob.com. Public domain. .\" -.Dd $Mdocdate: August 30 2019 $ +.Dd $Mdocdate: March 29 2022 $ .Dt ETHER_ATON 3 .Os .Sh NAME @@ -48,7 +48,7 @@ by colons. It returns a pointer to a static buffer that is reused for each call. The .Fn ether_aton -converts an +function converts an .Tn ASCII string of the same form and to a structure containing the 6 octets of the address. diff --git a/src/lib/libc/net/getifaddrs.3 b/src/lib/libc/net/getifaddrs.3 index 26eac49320..8ea08fa3da 100644 --- a/src/lib/libc/net/getifaddrs.3 +++ b/src/lib/libc/net/getifaddrs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getifaddrs.3,v 1.22 2018/01/12 04:36:44 deraadt Exp $ +.\" $OpenBSD: getifaddrs.3,v 1.23 2022/03/29 18:15:52 naddy Exp $ .\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp .\" .\" Copyright (c) 1995, 1999 @@ -21,7 +21,7 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd $Mdocdate: January 12 2018 $ +.Dd $Mdocdate: March 29 2022 $ .Dt GETIFADDRS 3 .Os .Sh NAME @@ -122,7 +122,7 @@ when no longer needed. .Sh ERRORS The .Fn getifaddrs -may fail and set +function may fail and set .Va errno for any of the errors specified for the library routines .Xr ioctl 2 , diff --git a/src/lib/libc/net/inet6_opt_init.3 b/src/lib/libc/net/inet6_opt_init.3 index dd7ab53f6f..fb4253aa2c 100644 --- a/src/lib/libc/net/inet6_opt_init.3 +++ b/src/lib/libc/net/inet6_opt_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: inet6_opt_init.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: inet6_opt_init.3,v 1.7 2022/03/29 18:15:52 naddy Exp $ .\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $ .\" .\" Copyright (C) 2004 WIDE Project. @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: March 29 2022 $ .Dt INET6_OPT_INIT 3 .Os .\" @@ -160,7 +160,7 @@ alignments respectively. .Ss inet6_opt_finish The .Fn inet6_opt_finish -calculates the final padding necessary to make the extension header a +function calculates the final padding necessary to make the extension header a multiple of 8 bytes, as required by the IPv6 extension header specification, and returns the extension header's updated total length. diff --git a/src/lib/libc/stdlib/rand.3 b/src/lib/libc/stdlib/rand.3 index 76278c871a..cf7dde8536 100644 --- a/src/lib/libc/stdlib/rand.3 +++ b/src/lib/libc/stdlib/rand.3 @@ -29,9 +29,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: rand.3,v 1.20 2021/02/12 17:03:51 deraadt Exp $ +.\" $OpenBSD: rand.3,v 1.21 2022/03/29 18:15:52 naddy Exp $ .\" -.Dd $Mdocdate: February 12 2021 $ +.Dd $Mdocdate: March 29 2022 $ .Dt RAND 3 .Os .Sh NAME @@ -94,7 +94,7 @@ was called, the result will be computed using the deterministic algorithm. .Pp The .Fn rand_r -is a thread-safe version of +function is a thread-safe version of .Fn rand . Storage for the seed must be provided through the .Fa seed diff --git a/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 b/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 index 5b2b4ba9da..e99f2be671 100644 --- a/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 +++ b/src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.6 2018/04/25 14:07:57 schwarze Exp $ +.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.7 2022/03/29 18:15:52 naddy Exp $ .\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 .\" .\" This file was written by Lutz Jaenicke . @@ -49,7 +49,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 25 2018 $ +.Dd $Mdocdate: March 29 2022 $ .Dt SSL_CTX_SESS_SET_GET_CB 3 .Os .Sh NAME @@ -151,7 +151,7 @@ caching is enabled (see .Xr SSL_CTX_set_session_cache_mode 3 ) . The .Fn new_session_cb -is passed the +function is passed the .Fa ssl connection and the ssl session .Fa sess . @@ -159,7 +159,8 @@ If the callback returns 0, the session will be immediately removed again. .Pp The .Fn remove_session_cb -is called whenever the SSL engine removes a session from the internal cache. +function is called whenever the SSL engine removes a session from the +internal cache. This happens when the session is removed because it is expired or when a connection was not shut down cleanly. It also happens for all sessions in the internal session cache when @@ -184,7 +185,7 @@ The function is always called, also when session caching was disabled. The .Fn get_session_cb -is passed the +function is passed the .Fa ssl connection, the session id of length .Fa length -- cgit v1.2.3-55-g6feb