summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaddy <>2022-03-29 18:15:52 +0000
committernaddy <>2022-03-29 18:15:52 +0000
commit891c61d53b14acc52e45afdbf657db4af8a5fe4d (patch)
tree3067083961a5234b715ff3d2d7afa9a2174ecdd7
parente8a98b915bed429d19b5dd55fed95e1425afbbcf (diff)
downloadopenbsd-891c61d53b14acc52e45afdbf657db4af8a5fe4d.tar.gz
openbsd-891c61d53b14acc52e45afdbf657db4af8a5fe4d.tar.bz2
openbsd-891c61d53b14acc52e45afdbf657db4af8a5fe4d.zip
man pages: add missing word, The foo() ... -> The foo() function ...
ok jmc@ schwarze@
-rw-r--r--src/lib/libc/net/ether_aton.36
-rw-r--r--src/lib/libc/net/getifaddrs.36
-rw-r--r--src/lib/libc/net/inet6_opt_init.36
-rw-r--r--src/lib/libc/stdlib/rand.36
-rw-r--r--src/lib/libssl/man/SSL_CTX_sess_set_get_cb.311
5 files changed, 18 insertions, 17 deletions
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 @@
1.\" $OpenBSD: ether_aton.3,v 1.1 2019/08/30 18:33:17 deraadt Exp $ 1.\" $OpenBSD: ether_aton.3,v 1.2 2022/03/29 18:15:52 naddy Exp $
2.\" 2.\"
3.\" Written by roland@frob.com. Public domain. 3.\" Written by roland@frob.com. Public domain.
4.\" 4.\"
5.Dd $Mdocdate: August 30 2019 $ 5.Dd $Mdocdate: March 29 2022 $
6.Dt ETHER_ATON 3 6.Dt ETHER_ATON 3
7.Os 7.Os
8.Sh NAME 8.Sh NAME
@@ -48,7 +48,7 @@ by colons.
48It returns a pointer to a static buffer that is reused for each call. 48It returns a pointer to a static buffer that is reused for each call.
49The 49The
50.Fn ether_aton 50.Fn ether_aton
51converts an 51function converts an
52.Tn ASCII 52.Tn ASCII
53string of the same form and to a structure 53string of the same form and to a structure
54containing the 6 octets of the address. 54containing 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 @@
1.\" $OpenBSD: getifaddrs.3,v 1.22 2018/01/12 04:36:44 deraadt Exp $ 1.\" $OpenBSD: getifaddrs.3,v 1.23 2022/03/29 18:15:52 naddy Exp $
2.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp 2.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
3.\" 3.\"
4.\" Copyright (c) 1995, 1999 4.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE. 23.\" SUCH DAMAGE.
24.Dd $Mdocdate: January 12 2018 $ 24.Dd $Mdocdate: March 29 2022 $
25.Dt GETIFADDRS 3 25.Dt GETIFADDRS 3
26.Os 26.Os
27.Sh NAME 27.Sh NAME
@@ -122,7 +122,7 @@ when no longer needed.
122.Sh ERRORS 122.Sh ERRORS
123The 123The
124.Fn getifaddrs 124.Fn getifaddrs
125may fail and set 125function may fail and set
126.Va errno 126.Va errno
127for any of the errors specified for the library routines 127for any of the errors specified for the library routines
128.Xr ioctl 2 , 128.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 @@
1.\" $OpenBSD: inet6_opt_init.3,v 1.6 2014/01/21 03:15:45 schwarze Exp $ 1.\" $OpenBSD: inet6_opt_init.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
2.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $ 2.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
3.\" 3.\"
4.\" Copyright (C) 2004 WIDE Project. 4.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE. 29.\" SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: January 21 2014 $ 31.Dd $Mdocdate: March 29 2022 $
32.Dt INET6_OPT_INIT 3 32.Dt INET6_OPT_INIT 3
33.Os 33.Os
34.\" 34.\"
@@ -160,7 +160,7 @@ alignments respectively.
160.Ss inet6_opt_finish 160.Ss inet6_opt_finish
161The 161The
162.Fn inet6_opt_finish 162.Fn inet6_opt_finish
163calculates the final padding necessary to make the extension header a 163function calculates the final padding necessary to make the extension header a
164multiple of 8 bytes, as required by the IPv6 extension header 164multiple of 8 bytes, as required by the IPv6 extension header
165specification, and returns the extension header's updated total 165specification, and returns the extension header's updated total
166length. 166length.
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 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: rand.3,v 1.20 2021/02/12 17:03:51 deraadt Exp $ 32.\" $OpenBSD: rand.3,v 1.21 2022/03/29 18:15:52 naddy Exp $
33.\" 33.\"
34.Dd $Mdocdate: February 12 2021 $ 34.Dd $Mdocdate: March 29 2022 $
35.Dt RAND 3 35.Dt RAND 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -94,7 +94,7 @@ was called, the result will be computed using the deterministic algorithm.
94.Pp 94.Pp
95The 95The
96.Fn rand_r 96.Fn rand_r
97is a thread-safe version of 97function is a thread-safe version of
98.Fn rand . 98.Fn rand .
99Storage for the seed must be provided through the 99Storage for the seed must be provided through the
100.Fa seed 100.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 @@
1.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.6 2018/04/25 14:07:57 schwarze Exp $ 1.\" $OpenBSD: SSL_CTX_sess_set_get_cb.3,v 1.7 2022/03/29 18:15:52 naddy Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. 4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: April 25 2018 $ 52.Dd $Mdocdate: March 29 2022 $
53.Dt SSL_CTX_SESS_SET_GET_CB 3 53.Dt SSL_CTX_SESS_SET_GET_CB 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -151,7 +151,7 @@ caching is enabled (see
151.Xr SSL_CTX_set_session_cache_mode 3 ) . 151.Xr SSL_CTX_set_session_cache_mode 3 ) .
152The 152The
153.Fn new_session_cb 153.Fn new_session_cb
154is passed the 154function is passed the
155.Fa ssl 155.Fa ssl
156connection and the ssl session 156connection and the ssl session
157.Fa sess . 157.Fa sess .
@@ -159,7 +159,8 @@ If the callback returns 0, the session will be immediately removed again.
159.Pp 159.Pp
160The 160The
161.Fn remove_session_cb 161.Fn remove_session_cb
162is called whenever the SSL engine removes a session from the internal cache. 162function is called whenever the SSL engine removes a session from the
163internal cache.
163This happens when the session is removed because it is expired or when a 164This happens when the session is removed because it is expired or when a
164connection was not shut down cleanly. 165connection was not shut down cleanly.
165It also happens for all sessions in the internal session cache when 166It also happens for all sessions in the internal session cache when
@@ -184,7 +185,7 @@ The
184function is always called, also when session caching was disabled. 185function is always called, also when session caching was disabled.
185The 186The
186.Fn get_session_cb 187.Fn get_session_cb
187is passed the 188function is passed the
188.Fa ssl 189.Fa ssl
189connection, the session id of length 190connection, the session id of length
190.Fa length 191.Fa length