diff options
Diffstat (limited to 'src/lib/libc')
-rw-r--r-- | src/lib/libc/net/getaddrinfo.3 | 10 | ||||
-rw-r--r-- | src/lib/libc/net/inet6_opt_init.3 | 10 | ||||
-rw-r--r-- | src/lib/libc/net/inet6_rth_space.3 | 6 | ||||
-rw-r--r-- | src/lib/libc/net/inet_net_ntop.3 | 8 | ||||
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 8 | ||||
-rw-r--r-- | src/lib/libc/stdlib/tsearch.3 | 6 |
6 files changed, 24 insertions, 24 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3 index de46e70182..035db2780b 100644 --- a/src/lib/libc/net/getaddrinfo.3 +++ b/src/lib/libc/net/getaddrinfo.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getaddrinfo.3,v 1.59 2019/08/30 20:20:50 jmc Exp $ | 1 | .\" $OpenBSD: getaddrinfo.3,v 1.60 2022/03/31 17:27:16 naddy Exp $ |
2 | .\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $ | 2 | .\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") | 4 | .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") |
@@ -16,7 +16,7 @@ | |||
16 | .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | 16 | .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
17 | .\" PERFORMANCE OF THIS SOFTWARE. | 17 | .\" PERFORMANCE OF THIS SOFTWARE. |
18 | .\" | 18 | .\" |
19 | .Dd $Mdocdate: August 30 2019 $ | 19 | .Dd $Mdocdate: March 31 2022 $ |
20 | .Dt GETADDRINFO 3 | 20 | .Dt GETADDRINFO 3 |
21 | .Os | 21 | .Os |
22 | .Sh NAME | 22 | .Sh NAME |
@@ -105,7 +105,7 @@ or | |||
105 | .Dv SOCK_RAW . | 105 | .Dv SOCK_RAW . |
106 | When | 106 | When |
107 | .Fa ai_socktype | 107 | .Fa ai_socktype |
108 | is zero the caller will accept any socket type. | 108 | is zero, the caller will accept any socket type. |
109 | .It Fa ai_protocol | 109 | .It Fa ai_protocol |
110 | Indicates which transport protocol is desired, | 110 | Indicates which transport protocol is desired, |
111 | .Dv IPPROTO_UDP | 111 | .Dv IPPROTO_UDP |
@@ -113,7 +113,7 @@ or | |||
113 | .Dv IPPROTO_TCP . | 113 | .Dv IPPROTO_TCP . |
114 | If | 114 | If |
115 | .Fa ai_protocol | 115 | .Fa ai_protocol |
116 | is zero the caller will accept any protocol. | 116 | is zero, the caller will accept any protocol. |
117 | .It Fa ai_flags | 117 | .It Fa ai_flags |
118 | .Fa ai_flags | 118 | .Fa ai_flags |
119 | is formed by | 119 | is formed by |
@@ -180,7 +180,7 @@ and no service name resolution should be attempted. | |||
180 | .It Dv AI_PASSIVE | 180 | .It Dv AI_PASSIVE |
181 | If the | 181 | If the |
182 | .Dv AI_PASSIVE | 182 | .Dv AI_PASSIVE |
183 | bit is set it indicates that the returned socket address structure | 183 | bit is set, it indicates that the returned socket address structure |
184 | is intended for use in a call to | 184 | is intended for use in a call to |
185 | .Xr bind 2 . | 185 | .Xr bind 2 . |
186 | In this case, if the | 186 | In this case, if the |
diff --git a/src/lib/libc/net/inet6_opt_init.3 b/src/lib/libc/net/inet6_opt_init.3 index fb4253aa2c..41ba842166 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.7 2022/03/29 18:15:52 naddy Exp $ | 1 | .\" $OpenBSD: inet6_opt_init.3,v 1.8 2022/03/31 17:27:16 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: March 29 2022 $ | 31 | .Dd $Mdocdate: March 31 2022 $ |
32 | .Dt INET6_OPT_INIT 3 | 32 | .Dt INET6_OPT_INIT 3 |
33 | .Os | 33 | .Os |
34 | .\" | 34 | .\" |
@@ -97,7 +97,7 @@ The | |||
97 | function can perform different jobs. | 97 | function can perform different jobs. |
98 | When a valid | 98 | When a valid |
99 | .Fa extbuf | 99 | .Fa extbuf |
100 | argument is supplied it appends an option to the extension buffer and | 100 | argument is supplied, it appends an option to the extension buffer and |
101 | returns the updated total length as well as a pointer to the newly | 101 | returns the updated total length as well as a pointer to the newly |
102 | created option in | 102 | created option in |
103 | .Fa databufp . | 103 | .Fa databufp . |
@@ -173,7 +173,7 @@ or | |||
173 | When | 173 | When |
174 | .Fa extbuf | 174 | .Fa extbuf |
175 | is not | 175 | is not |
176 | .Dv NULL | 176 | .Dv NULL , |
177 | the function also sets up the appropriate padding bytes by inserting a | 177 | the function also sets up the appropriate padding bytes by inserting a |
178 | Pad1 or PadN option of the proper length. | 178 | Pad1 or PadN option of the proper length. |
179 | .Pp | 179 | .Pp |
@@ -238,7 +238,7 @@ and | |||
238 | point to the 8-bit option type, the 8-bit option length and the option | 238 | point to the 8-bit option type, the 8-bit option length and the option |
239 | data respectively. | 239 | data respectively. |
240 | This function does not return any PAD1 or PADN options. | 240 | This function does not return any PAD1 or PADN options. |
241 | When an error occurs or there are no more options the return | 241 | When an error occurs or there are no more options, the return |
242 | value is \-1. | 242 | value is \-1. |
243 | .\" | 243 | .\" |
244 | .Ss inet6_opt_find | 244 | .Ss inet6_opt_find |
diff --git a/src/lib/libc/net/inet6_rth_space.3 b/src/lib/libc/net/inet6_rth_space.3 index fd69da2455..c40b45057e 100644 --- a/src/lib/libc/net/inet6_rth_space.3 +++ b/src/lib/libc/net/inet6_rth_space.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: inet6_rth_space.3,v 1.7 2014/06/11 16:59:47 chrisz Exp $ | 1 | .\" $OpenBSD: inet6_rth_space.3,v 1.8 2022/03/31 17:27:16 naddy Exp $ |
2 | .\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $ | 2 | .\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 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: June 11 2014 $ | 31 | .Dd $Mdocdate: March 31 2022 $ |
32 | .Dt INET6_RTH_SPACE 3 | 32 | .Dt INET6_RTH_SPACE 3 |
33 | .Os | 33 | .Os |
34 | .\" | 34 | .\" |
@@ -85,7 +85,7 @@ argument and containing the number of addresses specified in the | |||
85 | .Fa segments | 85 | .Fa segments |
86 | argument. | 86 | argument. |
87 | When the type is | 87 | When the type is |
88 | .Dv IPV6_RTHDR_TYPE_0 | 88 | .Dv IPV6_RTHDR_TYPE_0 , |
89 | the number of segments must be from 0 through 127. | 89 | the number of segments must be from 0 through 127. |
90 | The return value from this function is the number of bytes required to | 90 | The return value from this function is the number of bytes required to |
91 | store the routing header. | 91 | store the routing header. |
diff --git a/src/lib/libc/net/inet_net_ntop.3 b/src/lib/libc/net/inet_net_ntop.3 index 816e87bf98..cac234be42 100644 --- a/src/lib/libc/net/inet_net_ntop.3 +++ b/src/lib/libc/net/inet_net_ntop.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: inet_net_ntop.3,v 1.2 2021/09/01 15:59:22 claudio Exp $ | 1 | .\" $OpenBSD: inet_net_ntop.3,v 1.3 2022/03/31 17:27:16 naddy Exp $ |
2 | .\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ | 2 | .\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1997 The NetBSD Foundation, Inc. | 4 | .\" Copyright (c) 1997 The NetBSD Foundation, Inc. |
@@ -28,7 +28,7 @@ | |||
28 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 28 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
29 | .\" POSSIBILITY OF SUCH DAMAGE. | 29 | .\" POSSIBILITY OF SUCH DAMAGE. |
30 | .\" | 30 | .\" |
31 | .Dd $Mdocdate: September 1 2021 $ | 31 | .Dd $Mdocdate: March 31 2022 $ |
32 | .Dt INET_NET_NTOP 3 | 32 | .Dt INET_NET_NTOP 3 |
33 | .Os | 33 | .Os |
34 | .Sh NAME | 34 | .Sh NAME |
@@ -110,7 +110,7 @@ is in the range | |||
110 | and is used to explicitly specify the number of bits in the network address. | 110 | and is used to explicitly specify the number of bits in the network address. |
111 | When | 111 | When |
112 | .Dq Li /bits | 112 | .Dq Li /bits |
113 | is not specified the number of bits in the network address is calculated | 113 | is not specified, the number of bits in the network address is calculated |
114 | as the larger of the number of bits in the class to which the address | 114 | as the larger of the number of bits in the class to which the address |
115 | belongs and the number of bits provided rounded up modulo 8. | 115 | belongs and the number of bits provided rounded up modulo 8. |
116 | Examples: | 116 | Examples: |
@@ -176,7 +176,7 @@ is in the range | |||
176 | and is used to explicitly specify the number of bits in the network address. | 176 | and is used to explicitly specify the number of bits in the network address. |
177 | When | 177 | When |
178 | .Dq Li /bits | 178 | .Dq Li /bits |
179 | is not specified 128 is used. | 179 | is not specified, 128 is used. |
180 | Note that when the number of bits is specified using | 180 | Note that when the number of bits is specified using |
181 | .Dq Li /bits | 181 | .Dq Li /bits |
182 | notation, the value of the address still includes all bits supplied | 182 | notation, the value of the address still includes all bits supplied |
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index dc3e691ece..9bd498ab50 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
@@ -30,9 +30,9 @@ | |||
30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
32 | .\" | 32 | .\" |
33 | .\" $OpenBSD: malloc.3,v 1.128 2021/04/09 06:04:15 otto Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.129 2022/03/31 17:27:16 naddy Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd $Mdocdate: April 9 2021 $ | 35 | .Dd $Mdocdate: March 31 2022 $ |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
37 | .Os | 37 | .Os |
38 | .Sh NAME | 38 | .Sh NAME |
@@ -423,7 +423,7 @@ and multiplying | |||
423 | .Fa oldnmemb | 423 | .Fa oldnmemb |
424 | and | 424 | and |
425 | .Fa size | 425 | .Fa size |
426 | results in integer overflow | 426 | results in integer overflow, |
427 | .Fn recallocarray | 427 | .Fn recallocarray |
428 | returns | 428 | returns |
429 | .Dv NULL | 429 | .Dv NULL |
@@ -610,7 +610,7 @@ Here is a brief description of the error messages and what they mean: | |||
610 | .It Dq out of memory | 610 | .It Dq out of memory |
611 | If the | 611 | If the |
612 | .Cm X | 612 | .Cm X |
613 | option is specified it is an error for the allocation functions | 613 | option is specified, it is an error for the allocation functions |
614 | to return | 614 | to return |
615 | .Dv NULL . | 615 | .Dv NULL . |
616 | .It Dq bogus pointer (double free?) | 616 | .It Dq bogus pointer (double free?) |
diff --git a/src/lib/libc/stdlib/tsearch.3 b/src/lib/libc/stdlib/tsearch.3 index cd90435614..a7ab985013 100644 --- a/src/lib/libc/stdlib/tsearch.3 +++ b/src/lib/libc/stdlib/tsearch.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: tsearch.3,v 1.21 2019/01/25 00:19:25 millert Exp $ | 1 | .\" $OpenBSD: tsearch.3,v 1.22 2022/03/31 17:27:16 naddy Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1997 Todd C. Miller <millert@openbsd.org> | 3 | .\" Copyright (c) 1997 Todd C. Miller <millert@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: January 25 2019 $ | 17 | .Dd $Mdocdate: March 31 2022 $ |
18 | .Dt TSEARCH 3 | 18 | .Dt TSEARCH 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -63,7 +63,7 @@ except that if no match is found, | |||
63 | is inserted into the tree and a pointer to it is returned. | 63 | is inserted into the tree and a pointer to it is returned. |
64 | If | 64 | If |
65 | .Fa rootp | 65 | .Fa rootp |
66 | points to a null value a new binary search tree is created. | 66 | points to a null value, a new binary search tree is created. |
67 | .Pp | 67 | .Pp |
68 | .Fn tdelete | 68 | .Fn tdelete |
69 | deletes a node from the specified binary search tree and returns | 69 | deletes a node from the specified binary search tree and returns |