Skip to content

Commit c4501ef

Browse files
author
naddy
committed
man pages: add missing word, The foo() ... -> The foo() function ...
ok jmc@ schwarze@
1 parent 42ba3d7 commit c4501ef

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

src/lib/libc/net/ether_aton.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 $
22
.\"
33
.\" Written by roland@frob.com. Public domain.
44
.\"
5-
.Dd $Mdocdate: August 30 2019 $
5+
.Dd $Mdocdate: March 29 2022 $
66
.Dt ETHER_ATON 3
77
.Os
88
.Sh NAME
@@ -48,7 +48,7 @@ by colons.
4848
It returns a pointer to a static buffer that is reused for each call.
4949
The
5050
.Fn ether_aton
51-
converts an
51+
function converts an
5252
.Tn ASCII
5353
string of the same form and to a structure
5454
containing the 6 octets of the address.

src/lib/libc/net/getifaddrs.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 $
22
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
33
.\"
44
.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
2121
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2222
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2323
.\" SUCH DAMAGE.
24-
.Dd $Mdocdate: January 12 2018 $
24+
.Dd $Mdocdate: March 29 2022 $
2525
.Dt GETIFADDRS 3
2626
.Os
2727
.Sh NAME
@@ -122,7 +122,7 @@ when no longer needed.
122122
.Sh ERRORS
123123
The
124124
.Fn getifaddrs
125-
may fail and set
125+
function may fail and set
126126
.Va errno
127127
for any of the errors specified for the library routines
128128
.Xr ioctl 2 ,

src/lib/libc/net/inet6_opt_init.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 $
22
.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
33
.\"
44
.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
2828
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2929
.\" SUCH DAMAGE.
3030
.\"
31-
.Dd $Mdocdate: January 21 2014 $
31+
.Dd $Mdocdate: March 29 2022 $
3232
.Dt INET6_OPT_INIT 3
3333
.Os
3434
.\"
@@ -160,7 +160,7 @@ alignments respectively.
160160
.Ss inet6_opt_finish
161161
The
162162
.Fn inet6_opt_finish
163-
calculates the final padding necessary to make the extension header a
163+
function calculates the final padding necessary to make the extension header a
164164
multiple of 8 bytes, as required by the IPv6 extension header
165165
specification, and returns the extension header's updated total
166166
length.

src/lib/libc/stdlib/rand.3

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3030
.\" SUCH DAMAGE.
3131
.\"
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 $
3333
.\"
34-
.Dd $Mdocdate: February 12 2021 $
34+
.Dd $Mdocdate: March 29 2022 $
3535
.Dt RAND 3
3636
.Os
3737
.Sh NAME
@@ -94,7 +94,7 @@ was called, the result will be computed using the deterministic algorithm.
9494
.Pp
9595
The
9696
.Fn rand_r
97-
is a thread-safe version of
97+
function is a thread-safe version of
9898
.Fn rand .
9999
Storage for the seed must be provided through the
100100
.Fa seed

src/lib/libssl/man/SSL_CTX_sess_set_get_cb.3

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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 $
22
.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
33
.\"
44
.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
@@ -49,7 +49,7 @@
4949
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
5050
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
5151
.\"
52-
.Dd $Mdocdate: April 25 2018 $
52+
.Dd $Mdocdate: March 29 2022 $
5353
.Dt SSL_CTX_SESS_SET_GET_CB 3
5454
.Os
5555
.Sh NAME
@@ -151,15 +151,16 @@ caching is enabled (see
151151
.Xr SSL_CTX_set_session_cache_mode 3 ) .
152152
The
153153
.Fn new_session_cb
154-
is passed the
154+
function is passed the
155155
.Fa ssl
156156
connection and the ssl session
157157
.Fa sess .
158158
If the callback returns 0, the session will be immediately removed again.
159159
.Pp
160160
The
161161
.Fn remove_session_cb
162-
is called whenever the SSL engine removes a session from the internal cache.
162+
function is called whenever the SSL engine removes a session from the
163+
internal cache.
163164
This happens when the session is removed because it is expired or when a
164165
connection was not shut down cleanly.
165166
It also happens for all sessions in the internal session cache when
@@ -184,7 +185,7 @@ The
184185
function is always called, also when session caching was disabled.
185186
The
186187
.Fn get_session_cb
187-
is passed the
188+
function is passed the
188189
.Fa ssl
189190
connection, the session id of length
190191
.Fa length

0 commit comments

Comments
 (0)