diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libc/net/ether_aton.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/net/getaddrinfo.3 | 30 | ||||
| -rw-r--r-- | src/lib/libc/net/getnameinfo.3 | 12 | ||||
| -rw-r--r-- | src/lib/libc/net/getpeereid.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/net/getrrsetbyname.3 | 18 | ||||
| -rw-r--r-- | src/lib/libc/net/htonl.3 | 13 | ||||
| -rw-r--r-- | src/lib/libc/net/inet_addr.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/net/inet_net_ntop.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/net/inet_ntop.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atof.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atoi.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atol.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/atoll.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/div.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/getopt_long.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/imaxdiv.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/ldiv.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/lldiv.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/strtod.3 | 10 | ||||
| -rw-r--r-- | src/lib/libc/stdlib/strtonum.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/string/memccpy.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/string/memchr.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/string/memcmp.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/string/memset.3 | 6 |
24 files changed, 103 insertions, 106 deletions
diff --git a/src/lib/libc/net/ether_aton.3 b/src/lib/libc/net/ether_aton.3 index 358d7eed03..98562dc44c 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.2 2022/03/29 18:15:52 naddy Exp $ | 1 | .\" $OpenBSD: ether_aton.3,v 1.3 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Written by roland@frob.com. Public domain. | 3 | .\" Written by roland@frob.com. Public domain. |
| 4 | .\" | 4 | .\" |
| 5 | .Dd $Mdocdate: March 29 2022 $ | 5 | .Dd $Mdocdate: September 11 2022 $ |
| 6 | .Dt ETHER_ATON 3 | 6 | .Dt ETHER_ATON 3 |
| 7 | .Os | 7 | .Os |
| 8 | .Sh NAME | 8 | .Sh NAME |
| @@ -86,7 +86,7 @@ The | |||
| 86 | function parses a line from the | 86 | function parses a line from the |
| 87 | .Pa /etc/ethers | 87 | .Pa /etc/ethers |
| 88 | file and fills in the passed | 88 | file and fills in the passed |
| 89 | .Li struct ether_addr | 89 | .Vt struct ether_addr |
| 90 | and character buffer with the Ethernet address and host name on the line. | 90 | and character buffer with the Ethernet address and host name on the line. |
| 91 | It returns zero if the line was successfully parsed and \-1 if not. | 91 | It returns zero if the line was successfully parsed and \-1 if not. |
| 92 | The character buffer should be | 92 | The character buffer should be |
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3 index 035db2780b..780c7a409f 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.60 2022/03/31 17:27:16 naddy Exp $ | 1 | .\" $OpenBSD: getaddrinfo.3,v 1.61 2022/09/11 06:38:10 jmc 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: March 31 2022 $ | 19 | .Dd $Mdocdate: September 11 2022 $ |
| 20 | .Dt GETADDRINFO 3 | 20 | .Dt GETADDRINFO 3 |
| 21 | .Os | 21 | .Os |
| 22 | .Sh NAME | 22 | .Sh NAME |
| @@ -68,7 +68,7 @@ must be non-null. | |||
| 68 | .Pp | 68 | .Pp |
| 69 | .Fa hints | 69 | .Fa hints |
| 70 | is an optional pointer to a | 70 | is an optional pointer to a |
| 71 | .Li struct addrinfo , | 71 | .Vt struct addrinfo , |
| 72 | as defined by | 72 | as defined by |
| 73 | .In netdb.h : | 73 | .In netdb.h : |
| 74 | .Bd -literal | 74 | .Bd -literal |
| @@ -139,7 +139,7 @@ will return a NUL-terminated string containing the canonical name | |||
| 139 | of the specified host name in the | 139 | of the specified host name in the |
| 140 | .Fa ai_canonname | 140 | .Fa ai_canonname |
| 141 | element of the first | 141 | element of the first |
| 142 | .Li addrinfo | 142 | .Vt addrinfo |
| 143 | structure returned. | 143 | structure returned. |
| 144 | .It Dv AI_FQDN | 144 | .It Dv AI_FQDN |
| 145 | If the | 145 | If the |
| @@ -150,7 +150,7 @@ will return a NUL-terminated string containing the fully qualified domain name | |||
| 150 | of the specified host name in the | 150 | of the specified host name in the |
| 151 | .Fa ai_canonname | 151 | .Fa ai_canonname |
| 152 | element of the first | 152 | element of the first |
| 153 | .Li addrinfo | 153 | .Vt addrinfo |
| 154 | structure returned. | 154 | structure returned. |
| 155 | .Pp | 155 | .Pp |
| 156 | This is different from the | 156 | This is different from the |
| @@ -215,7 +215,7 @@ is not set. | |||
| 215 | .El | 215 | .El |
| 216 | .Pp | 216 | .Pp |
| 217 | All other elements of the | 217 | All other elements of the |
| 218 | .Li addrinfo | 218 | .Vt addrinfo |
| 219 | structure passed via | 219 | structure passed via |
| 220 | .Fa hints | 220 | .Fa hints |
| 221 | must be zero or the null pointer. | 221 | must be zero or the null pointer. |
| @@ -225,7 +225,7 @@ If | |||
| 225 | is the null pointer, | 225 | is the null pointer, |
| 226 | .Fn getaddrinfo | 226 | .Fn getaddrinfo |
| 227 | behaves as if the caller provided a | 227 | behaves as if the caller provided a |
| 228 | .Li struct addrinfo | 228 | .Vt struct addrinfo |
| 229 | with | 229 | with |
| 230 | .Fa ai_family | 230 | .Fa ai_family |
| 231 | set to | 231 | set to |
| @@ -240,12 +240,12 @@ After a successful call to | |||
| 240 | .Fn getaddrinfo , | 240 | .Fn getaddrinfo , |
| 241 | .Fa *res | 241 | .Fa *res |
| 242 | is a pointer to a linked list of one or more | 242 | is a pointer to a linked list of one or more |
| 243 | .Li addrinfo | 243 | .Vt addrinfo |
| 244 | structures. | 244 | structures. |
| 245 | The list can be traversed by following the | 245 | The list can be traversed by following the |
| 246 | .Fa ai_next | 246 | .Fa ai_next |
| 247 | pointer in each | 247 | pointer in each |
| 248 | .Li addrinfo | 248 | .Vt addrinfo |
| 249 | structure until a null pointer is encountered. | 249 | structure until a null pointer is encountered. |
| 250 | The three members | 250 | The three members |
| 251 | .Fa ai_family , | 251 | .Fa ai_family , |
| @@ -253,11 +253,11 @@ The three members | |||
| 253 | and | 253 | and |
| 254 | .Fa ai_protocol | 254 | .Fa ai_protocol |
| 255 | in each returned | 255 | in each returned |
| 256 | .Li addrinfo | 256 | .Vt addrinfo |
| 257 | structure are suitable for a call to | 257 | structure are suitable for a call to |
| 258 | .Xr socket 2 . | 258 | .Xr socket 2 . |
| 259 | For each | 259 | For each |
| 260 | .Li addrinfo | 260 | .Vt addrinfo |
| 261 | structure in the list, the | 261 | structure in the list, the |
| 262 | .Fa ai_addr | 262 | .Fa ai_addr |
| 263 | member points to a filled-in socket address structure of length | 263 | member points to a filled-in socket address structure of length |
| @@ -298,10 +298,10 @@ the interface and link, which is not necessarily true from the specification. | |||
| 298 | All of the information returned by | 298 | All of the information returned by |
| 299 | .Fn getaddrinfo | 299 | .Fn getaddrinfo |
| 300 | is dynamically allocated: the | 300 | is dynamically allocated: the |
| 301 | .Li addrinfo | 301 | .Vt addrinfo |
| 302 | structures themselves as well as the socket address structures and | 302 | structures themselves as well as the socket address structures and |
| 303 | the canonical host name strings included in the | 303 | the canonical host name strings included in the |
| 304 | .Li addrinfo | 304 | .Vt addrinfo |
| 305 | structures. | 305 | structures. |
| 306 | .Pp | 306 | .Pp |
| 307 | Memory allocated for the dynamically allocated structures created by | 307 | Memory allocated for the dynamically allocated structures created by |
| @@ -313,7 +313,7 @@ function. | |||
| 313 | The | 313 | The |
| 314 | .Fa ai | 314 | .Fa ai |
| 315 | pointer should be an | 315 | pointer should be an |
| 316 | .Li addrinfo | 316 | .Vt addrinfo |
| 317 | structure created by a call to | 317 | structure created by a call to |
| 318 | .Fn getaddrinfo . | 318 | .Fn getaddrinfo . |
| 319 | .Sh RETURN VALUES | 319 | .Sh RETURN VALUES |
| @@ -324,7 +324,7 @@ if an error occurs. | |||
| 324 | If an error occurs, no memory is allocated by | 324 | If an error occurs, no memory is allocated by |
| 325 | .Fn getaddrinfo , | 325 | .Fn getaddrinfo , |
| 326 | therefore it is not necessary to release the | 326 | therefore it is not necessary to release the |
| 327 | .Li addrinfo | 327 | .Vt addrinfo |
| 328 | structure(s). | 328 | structure(s). |
| 329 | .Sh EXAMPLES | 329 | .Sh EXAMPLES |
| 330 | The following code tries to connect to | 330 | The following code tries to connect to |
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3 index 18c2cdc075..4e97b5d07b 100644 --- a/src/lib/libc/net/getnameinfo.3 +++ b/src/lib/libc/net/getnameinfo.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getnameinfo.3,v 1.48 2019/08/30 20:20:51 jmc Exp $ | 1 | .\" $OpenBSD: getnameinfo.3,v 1.49 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $ | 2 | .\" $KAME: getnameinfo.3,v 1.37 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: September 11 2022 $ |
| 20 | .Dt GETNAMEINFO 3 | 20 | .Dt GETNAMEINFO 3 |
| 21 | .Os | 21 | .Os |
| 22 | .Sh NAME | 22 | .Sh NAME |
| @@ -33,7 +33,7 @@ | |||
| 33 | The | 33 | The |
| 34 | .Fn getnameinfo | 34 | .Fn getnameinfo |
| 35 | function is used to convert a | 35 | function is used to convert a |
| 36 | .Li sockaddr | 36 | .Vt sockaddr |
| 37 | structure to a pair of host name and service strings. | 37 | structure to a pair of host name and service strings. |
| 38 | It is a replacement for and provides more flexibility than the | 38 | It is a replacement for and provides more flexibility than the |
| 39 | .Xr gethostbyaddr 3 | 39 | .Xr gethostbyaddr 3 |
| @@ -44,13 +44,13 @@ functions and is the converse of the | |||
| 44 | function. | 44 | function. |
| 45 | .Pp | 45 | .Pp |
| 46 | The | 46 | The |
| 47 | .Li sockaddr | 47 | .Vt sockaddr |
| 48 | structure | 48 | structure |
| 49 | .Fa sa | 49 | .Fa sa |
| 50 | should point to either a | 50 | should point to either a |
| 51 | .Li sockaddr_in | 51 | .Vt sockaddr_in |
| 52 | or | 52 | or |
| 53 | .Li sockaddr_in6 | 53 | .Vt sockaddr_in6 |
| 54 | structure (for IPv4 or IPv6 respectively) that is | 54 | structure (for IPv4 or IPv6 respectively) that is |
| 55 | .Fa salen | 55 | .Fa salen |
| 56 | bytes long. | 56 | bytes long. |
diff --git a/src/lib/libc/net/getpeereid.3 b/src/lib/libc/net/getpeereid.3 index 9c5742a245..4475bbd77d 100644 --- a/src/lib/libc/net/getpeereid.3 +++ b/src/lib/libc/net/getpeereid.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getpeereid.3,v 1.3 2013/06/05 03:39:23 tedu Exp $ | 1 | .\" $OpenBSD: getpeereid.3,v 1.4 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -26,7 +26,7 @@ | |||
| 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 26 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .Dd $Mdocdate: June 5 2013 $ | 29 | .Dd $Mdocdate: September 11 2022 $ |
| 30 | .Dt GETPEEREID 3 | 30 | .Dt GETPEEREID 3 |
| 31 | .Os | 31 | .Os |
| 32 | .Sh NAME | 32 | .Sh NAME |
| @@ -65,13 +65,13 @@ should be looked up. | |||
| 65 | .It | 65 | .It |
| 66 | .Fa euid | 66 | .Fa euid |
| 67 | points to a | 67 | points to a |
| 68 | .Li uid_t | 68 | .Vt uid_t |
| 69 | variable into which the effective user ID for the connected peer will | 69 | variable into which the effective user ID for the connected peer will |
| 70 | be stored. | 70 | be stored. |
| 71 | .It | 71 | .It |
| 72 | .Fa egid | 72 | .Fa egid |
| 73 | points to a | 73 | points to a |
| 74 | .Li gid_t | 74 | .Vt gid_t |
| 75 | variable into which the effective group ID for the connected peer will | 75 | variable into which the effective group ID for the connected peer will |
| 76 | be stored. | 76 | be stored. |
| 77 | .El | 77 | .El |
diff --git a/src/lib/libc/net/getrrsetbyname.3 b/src/lib/libc/net/getrrsetbyname.3 index d0acb60238..314f31665c 100644 --- a/src/lib/libc/net/getrrsetbyname.3 +++ b/src/lib/libc/net/getrrsetbyname.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getrrsetbyname.3,v 1.21 2019/08/30 20:20:51 jmc Exp $ | 1 | .\" $OpenBSD: getrrsetbyname.3,v 1.22 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (C) 2000, 2001 Internet Software Consortium. | 3 | .\" Copyright (C) 2000, 2001 Internet Software Consortium. |
| 4 | .\" | 4 | .\" |
| @@ -15,7 +15,7 @@ | |||
| 15 | .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION | 15 | .\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
| 16 | .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 | .\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 17 | .\" | 17 | .\" |
| 18 | .Dd $Mdocdate: August 30 2019 $ | 18 | .Dd $Mdocdate: September 11 2022 $ |
| 19 | .Dt GETRRSETBYNAME 3 | 19 | .Dt GETRRSETBYNAME 3 |
| 20 | .Os | 20 | .Os |
| 21 | .Sh NAME | 21 | .Sh NAME |
| @@ -46,11 +46,11 @@ After a successful call to | |||
| 46 | .Fn getrrsetbyname , | 46 | .Fn getrrsetbyname , |
| 47 | .Fa *res | 47 | .Fa *res |
| 48 | is a pointer to an | 48 | is a pointer to an |
| 49 | .Li rrsetinfo | 49 | .Vt rrsetinfo |
| 50 | structure, containing a list of one or more | 50 | structure, containing a list of one or more |
| 51 | .Li rdatainfo | 51 | .Vt rdatainfo |
| 52 | structures containing resource records and potentially another list of | 52 | structures containing resource records and potentially another list of |
| 53 | .Li rdatainfo | 53 | .Vt rdatainfo |
| 54 | structures containing SIG resource records associated with those records. | 54 | structures containing SIG resource records associated with those records. |
| 55 | The members | 55 | The members |
| 56 | .Li rri_rdclass | 56 | .Li rri_rdclass |
| @@ -97,12 +97,12 @@ struct rrsetinfo { | |||
| 97 | All of the information returned by | 97 | All of the information returned by |
| 98 | .Fn getrrsetbyname | 98 | .Fn getrrsetbyname |
| 99 | is dynamically allocated: the | 99 | is dynamically allocated: the |
| 100 | .Li rrsetinfo | 100 | .Vt rrsetinfo |
| 101 | and | 101 | and |
| 102 | .Li rdatainfo | 102 | .Vt rdatainfo |
| 103 | structures, | 103 | structures, |
| 104 | and the canonical host name strings pointed to by the | 104 | and the canonical host name strings pointed to by the |
| 105 | .Li rrsetinfo | 105 | .Vt rrsetinfo |
| 106 | structure. | 106 | structure. |
| 107 | Memory allocated for the dynamically allocated structures created by | 107 | Memory allocated for the dynamically allocated structures created by |
| 108 | a successful call to | 108 | a successful call to |
| @@ -111,7 +111,7 @@ is released by | |||
| 111 | .Fn freerrset . | 111 | .Fn freerrset . |
| 112 | .Li rrset | 112 | .Li rrset |
| 113 | is a pointer to a | 113 | is a pointer to a |
| 114 | .Li struct rrsetinfo | 114 | .Vt struct rrsetinfo |
| 115 | created by a call to | 115 | created by a call to |
| 116 | .Fn getrrsetbyname . | 116 | .Fn getrrsetbyname . |
| 117 | .\" .Pp | 117 | .\" .Pp |
diff --git a/src/lib/libc/net/htonl.3 b/src/lib/libc/net/htonl.3 index a63959717a..65fa9a53b5 100644 --- a/src/lib/libc/net/htonl.3 +++ b/src/lib/libc/net/htonl.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: htonl.3,v 1.5 2019/02/13 07:02:09 jmc Exp $ | 1 | .\" $OpenBSD: htonl.3,v 1.6 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -27,7 +27,7 @@ | |||
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .\" | 29 | .\" |
| 30 | .Dd $Mdocdate: February 13 2019 $ | 30 | .Dd $Mdocdate: September 11 2022 $ |
| 31 | .Dt HTONL 3 | 31 | .Dt HTONL 3 |
| 32 | .Os | 32 | .Os |
| 33 | .Sh NAME | 33 | .Sh NAME |
| @@ -66,14 +66,11 @@ or | |||
| 66 | .Sq l ) | 66 | .Sq l ) |
| 67 | is a mnemonic | 67 | is a mnemonic |
| 68 | for the traditional names for such quantities, | 68 | for the traditional names for such quantities, |
| 69 | .Li short | 69 | short and long, respectively. |
| 70 | and | ||
| 71 | .Li long , | ||
| 72 | respectively. | ||
| 73 | Today, the C concept of | 70 | Today, the C concept of |
| 74 | .Li short | 71 | .Vt short |
| 75 | and | 72 | and |
| 76 | .Li long | 73 | .Vt long |
| 77 | integers need not coincide with this traditional misunderstanding. | 74 | integers need not coincide with this traditional misunderstanding. |
| 78 | On machines which have a byte order which is the same as the network | 75 | On machines which have a byte order which is the same as the network |
| 79 | order, routines are defined as null macros. | 76 | order, routines are defined as null macros. |
diff --git a/src/lib/libc/net/inet_addr.3 b/src/lib/libc/net/inet_addr.3 index 129b08d277..dec5a2ec16 100644 --- a/src/lib/libc/net/inet_addr.3 +++ b/src/lib/libc/net/inet_addr.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: inet_addr.3,v 1.5 2019/08/30 20:06:07 jmc Exp $ | 1 | .\" $OpenBSD: inet_addr.3,v 1.6 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ | 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ |
| 3 | .\" | 3 | .\" |
| 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
| @@ -30,7 +30,7 @@ | |||
| 30 | .\" | 30 | .\" |
| 31 | .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 | 31 | .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 |
| 32 | .\" | 32 | .\" |
| 33 | .Dd $Mdocdate: August 30 2019 $ | 33 | .Dd $Mdocdate: September 11 2022 $ |
| 34 | .Dt INET_ADDR 3 | 34 | .Dt INET_ADDR 3 |
| 35 | .Os | 35 | .Os |
| 36 | .Sh NAME | 36 | .Sh NAME |
| @@ -179,7 +179,7 @@ cannot return that value without indicating failure. | |||
| 179 | Also, | 179 | Also, |
| 180 | .Fn inet_addr | 180 | .Fn inet_addr |
| 181 | should have been designed to return a | 181 | should have been designed to return a |
| 182 | .Li struct in_addr . | 182 | .Vt struct in_addr . |
| 183 | The newer | 183 | The newer |
| 184 | .Fn inet_aton | 184 | .Fn inet_aton |
| 185 | function does not share these problems, and almost all existing code | 185 | function does not share these problems, and almost all existing code |
diff --git a/src/lib/libc/net/inet_net_ntop.3 b/src/lib/libc/net/inet_net_ntop.3 index cac234be42..4212af3bb6 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.3 2022/03/31 17:27:16 naddy Exp $ | 1 | .\" $OpenBSD: inet_net_ntop.3,v 1.4 2022/09/11 06:38:10 jmc 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: March 31 2022 $ | 31 | .Dd $Mdocdate: September 11 2022 $ |
| 32 | .Dt INET_NET_NTOP 3 | 32 | .Dt INET_NET_NTOP 3 |
| 33 | .Os | 33 | .Os |
| 34 | .Sh NAME | 34 | .Sh NAME |
| @@ -46,7 +46,7 @@ | |||
| 46 | The | 46 | The |
| 47 | .Fn inet_net_ntop | 47 | .Fn inet_net_ntop |
| 48 | function converts an Internet network number from network format (usually a | 48 | function converts an Internet network number from network format (usually a |
| 49 | .Li struct in_addr | 49 | .Vt struct in_addr |
| 50 | or some other binary form, in network byte order) to CIDR presentation format | 50 | or some other binary form, in network byte order) to CIDR presentation format |
| 51 | (suitable for external display purposes). | 51 | (suitable for external display purposes). |
| 52 | .Fa bits | 52 | .Fa bits |
| @@ -63,7 +63,7 @@ The | |||
| 63 | .Fn inet_net_pton | 63 | .Fn inet_net_pton |
| 64 | function converts a presentation format Internet network number (that is, | 64 | function converts a presentation format Internet network number (that is, |
| 65 | printable form as held in a character string) to network format (usually a | 65 | printable form as held in a character string) to network format (usually a |
| 66 | .Li struct in_addr | 66 | .Vt struct in_addr |
| 67 | or some other internal binary representation, in network byte order). | 67 | or some other internal binary representation, in network byte order). |
| 68 | It returns the number of bits (either computed based on the class, or | 68 | It returns the number of bits (either computed based on the class, or |
| 69 | specified with /CIDR), or \-1 if a failure occurred | 69 | specified with /CIDR), or \-1 if a failure occurred |
diff --git a/src/lib/libc/net/inet_ntop.3 b/src/lib/libc/net/inet_ntop.3 index c80b0c4776..e5c1c574f8 100644 --- a/src/lib/libc/net/inet_ntop.3 +++ b/src/lib/libc/net/inet_ntop.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: inet_ntop.3,v 1.5 2021/09/01 15:59:22 claudio Exp $ | 1 | .\" $OpenBSD: inet_ntop.3,v 1.6 2022/09/11 06:38:10 jmc Exp $ |
| 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ | 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ |
| 3 | .\" | 3 | .\" |
| 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
| @@ -30,7 +30,7 @@ | |||
| 30 | .\" | 30 | .\" |
| 31 | .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 | 31 | .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 |
| 32 | .\" | 32 | .\" |
| 33 | .Dd $Mdocdate: September 1 2021 $ | 33 | .Dd $Mdocdate: September 11 2022 $ |
| 34 | .Dt INET_NTOP 3 | 34 | .Dt INET_NTOP 3 |
| 35 | .Os | 35 | .Os |
| 36 | .Sh NAME | 36 | .Sh NAME |
| @@ -49,7 +49,7 @@ The | |||
| 49 | .Fn inet_pton | 49 | .Fn inet_pton |
| 50 | function converts a presentation format address (that is, printable form | 50 | function converts a presentation format address (that is, printable form |
| 51 | as held in a character string) to network format (usually a | 51 | as held in a character string) to network format (usually a |
| 52 | .Li struct in_addr | 52 | .Vt struct in_addr |
| 53 | or some other internal binary representation, in network byte order). | 53 | or some other internal binary representation, in network byte order). |
| 54 | It returns 1 if the address was valid for the specified address family; | 54 | It returns 1 if the address was valid for the specified address family; |
| 55 | 0 if the address wasn't parseable in the specified address family; or \-1 | 55 | 0 if the address wasn't parseable in the specified address family; or \-1 |
diff --git a/src/lib/libc/stdlib/atof.3 b/src/lib/libc/stdlib/atof.3 index 183f22d358..7d1f09d1a4 100644 --- a/src/lib/libc/stdlib/atof.3 +++ b/src/lib/libc/stdlib/atof.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: atof.3,v 1.9 2019/01/16 12:55:49 schwarze Exp $ | 32 | .\" $OpenBSD: atof.3,v 1.10 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: January 16 2019 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOF 3 | 35 | .Dt ATOF 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li double | 50 | .Vt double |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | It is equivalent to: |
diff --git a/src/lib/libc/stdlib/atoi.3 b/src/lib/libc/stdlib/atoi.3 index 0cd90ccffb..92d8de93a6 100644 --- a/src/lib/libc/stdlib/atoi.3 +++ b/src/lib/libc/stdlib/atoi.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: atoi.3,v 1.12 2015/09/10 15:16:43 schwarze Exp $ | 32 | .\" $OpenBSD: atoi.3,v 1.13 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: September 10 2015 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOI 3 | 35 | .Dt ATOI 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li integer | 50 | .Vt integer |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | It is equivalent to: |
diff --git a/src/lib/libc/stdlib/atol.3 b/src/lib/libc/stdlib/atol.3 index c80f61f754..f67ca7da6c 100644 --- a/src/lib/libc/stdlib/atol.3 +++ b/src/lib/libc/stdlib/atol.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: atol.3,v 1.10 2015/09/10 15:16:43 schwarze Exp $ | 32 | .\" $OpenBSD: atol.3,v 1.11 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: September 10 2015 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOL 3 | 35 | .Dt ATOL 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li long integer | 50 | .Vt long integer |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | It is equivalent to: |
diff --git a/src/lib/libc/stdlib/atoll.3 b/src/lib/libc/stdlib/atoll.3 index 0cf8e40f8e..c2b606dda9 100644 --- a/src/lib/libc/stdlib/atoll.3 +++ b/src/lib/libc/stdlib/atoll.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: atoll.3,v 1.8 2015/09/10 15:16:43 schwarze Exp $ | 32 | .\" $OpenBSD: atoll.3,v 1.9 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: September 10 2015 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt ATOLL 3 | 35 | .Dt ATOLL 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,7 +47,7 @@ The | |||
| 47 | function converts the initial portion of the string pointed to by | 47 | function converts the initial portion of the string pointed to by |
| 48 | .Fa nptr | 48 | .Fa nptr |
| 49 | to | 49 | to |
| 50 | .Li long long integer | 50 | .Vt long long integer |
| 51 | representation. | 51 | representation. |
| 52 | .Pp | 52 | .Pp |
| 53 | It is equivalent to: | 53 | It is equivalent to: |
diff --git a/src/lib/libc/stdlib/div.3 b/src/lib/libc/stdlib/div.3 index 421400a294..b4b42ba8ec 100644 --- a/src/lib/libc/stdlib/div.3 +++ b/src/lib/libc/stdlib/div.3 | |||
| @@ -27,9 +27,9 @@ | |||
| 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
| 29 | .\" | 29 | .\" |
| 30 | .\" $OpenBSD: div.3,v 1.12 2016/08/14 23:18:03 guenther Exp $ | 30 | .\" $OpenBSD: div.3,v 1.13 2022/09/11 06:38:11 jmc Exp $ |
| 31 | .\" | 31 | .\" |
| 32 | .Dd $Mdocdate: August 14 2016 $ | 32 | .Dd $Mdocdate: September 11 2022 $ |
| 33 | .Dt DIV 3 | 33 | .Dt DIV 3 |
| 34 | .Os | 34 | .Os |
| 35 | .Sh NAME | 35 | .Sh NAME |
| @@ -47,7 +47,7 @@ function computes the value | |||
| 47 | and returns the quotient and remainder in a structure named | 47 | and returns the quotient and remainder in a structure named |
| 48 | .Fa div_t | 48 | .Fa div_t |
| 49 | that contains two | 49 | that contains two |
| 50 | .Li int | 50 | .Vt int |
| 51 | members named | 51 | members named |
| 52 | .Fa quot | 52 | .Fa quot |
| 53 | and | 53 | and |
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3 index 9f99a353e8..88594cbf9c 100644 --- a/src/lib/libc/stdlib/getopt_long.3 +++ b/src/lib/libc/stdlib/getopt_long.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getopt_long.3,v 1.24 2022/01/06 18:58:24 jmc Exp $ | 1 | .\" $OpenBSD: getopt_long.3,v 1.25 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ | 2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ |
| 3 | .\" | 3 | .\" |
| 4 | .\" Copyright (c) 1988, 1991, 1993 | 4 | .\" Copyright (c) 1988, 1991, 1993 |
| @@ -30,7 +30,7 @@ | |||
| 30 | .\" | 30 | .\" |
| 31 | .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 | 31 | .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 |
| 32 | .\" | 32 | .\" |
| 33 | .Dd $Mdocdate: January 6 2022 $ | 33 | .Dd $Mdocdate: September 11 2022 $ |
| 34 | .Dt GETOPT_LONG 3 | 34 | .Dt GETOPT_LONG 3 |
| 35 | .Os | 35 | .Os |
| 36 | .Sh NAME | 36 | .Sh NAME |
| @@ -197,7 +197,7 @@ the single-character option is returned. | |||
| 197 | If the | 197 | If the |
| 198 | .Fa flag | 198 | .Fa flag |
| 199 | field in | 199 | field in |
| 200 | .Li struct option | 200 | .Vt struct option |
| 201 | is | 201 | is |
| 202 | .Dv NULL , | 202 | .Dv NULL , |
| 203 | .Fn getopt_long | 203 | .Fn getopt_long |
diff --git a/src/lib/libc/stdlib/imaxdiv.3 b/src/lib/libc/stdlib/imaxdiv.3 index 0d4f765373..70168acb30 100644 --- a/src/lib/libc/stdlib/imaxdiv.3 +++ b/src/lib/libc/stdlib/imaxdiv.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: imaxdiv.3,v 1.7 2016/08/14 23:18:03 guenther Exp $ | 32 | .\" $OpenBSD: imaxdiv.3,v 1.8 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: August 14 2016 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt IMAXDIV 3 | 35 | .Dt IMAXDIV 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,9 +47,9 @@ The | |||
| 47 | function computes the value | 47 | function computes the value |
| 48 | .Fa num Ns / Ns Fa denom | 48 | .Fa num Ns / Ns Fa denom |
| 49 | and returns the quotient and remainder in a structure named | 49 | and returns the quotient and remainder in a structure named |
| 50 | .Li imaxdiv_t | 50 | .Vt imaxdiv_t |
| 51 | that contains two | 51 | that contains two |
| 52 | .Li intmax_t | 52 | .Vt intmax_t |
| 53 | members named | 53 | members named |
| 54 | .Fa quot | 54 | .Fa quot |
| 55 | and | 55 | and |
diff --git a/src/lib/libc/stdlib/ldiv.3 b/src/lib/libc/stdlib/ldiv.3 index 1fa6f38c45..c7ddc85ac5 100644 --- a/src/lib/libc/stdlib/ldiv.3 +++ b/src/lib/libc/stdlib/ldiv.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: ldiv.3,v 1.13 2016/08/14 23:18:03 guenther Exp $ | 32 | .\" $OpenBSD: ldiv.3,v 1.14 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: August 14 2016 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt LDIV 3 | 35 | .Dt LDIV 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -47,9 +47,9 @@ The | |||
| 47 | function computes the value | 47 | function computes the value |
| 48 | .Fa num Ns / Ns Fa denom | 48 | .Fa num Ns / Ns Fa denom |
| 49 | and returns the quotient and remainder in a structure named | 49 | and returns the quotient and remainder in a structure named |
| 50 | .Li ldiv_t | 50 | .Vt ldiv_t |
| 51 | that contains two | 51 | that contains two |
| 52 | .Li long integer | 52 | .Vt long integer |
| 53 | members named | 53 | members named |
| 54 | .Fa quot | 54 | .Fa quot |
| 55 | and | 55 | and |
diff --git a/src/lib/libc/stdlib/lldiv.3 b/src/lib/libc/stdlib/lldiv.3 index 526da8d0c4..539d7b5179 100644 --- a/src/lib/libc/stdlib/lldiv.3 +++ b/src/lib/libc/stdlib/lldiv.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: lldiv.3,v 1.8 2017/08/01 14:57:02 schwarze Exp $ | 32 | .\" $OpenBSD: lldiv.3,v 1.9 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: August 1 2017 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt LLDIV 3 | 35 | .Dt LLDIV 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -50,9 +50,9 @@ The | |||
| 50 | function computes the value | 50 | function computes the value |
| 51 | .Fa num Ns / Ns Fa denom | 51 | .Fa num Ns / Ns Fa denom |
| 52 | and returns the quotient and remainder in a structure named | 52 | and returns the quotient and remainder in a structure named |
| 53 | .Li lldiv_t | 53 | .Vt lldiv_t |
| 54 | that contains two | 54 | that contains two |
| 55 | .Li long long integer | 55 | .Vt long long integer |
| 56 | members named | 56 | members named |
| 57 | .Fa quot | 57 | .Fa quot |
| 58 | and | 58 | and |
diff --git a/src/lib/libc/stdlib/strtod.3 b/src/lib/libc/stdlib/strtod.3 index 0561f3615d..ad8f28a02f 100644 --- a/src/lib/libc/stdlib/strtod.3 +++ b/src/lib/libc/stdlib/strtod.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: strtod.3,v 1.22 2019/01/16 12:55:49 schwarze Exp $ | 32 | .\" $OpenBSD: strtod.3,v 1.23 2022/09/11 06:38:11 jmc Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: January 16 2019 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt STRTOD 3 | 35 | .Dt STRTOD 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -55,21 +55,21 @@ The | |||
| 55 | function converts the initial portion of the string pointed to by | 55 | function converts the initial portion of the string pointed to by |
| 56 | .Fa nptr | 56 | .Fa nptr |
| 57 | to | 57 | to |
| 58 | .Li double | 58 | .Vt double |
| 59 | representation. | 59 | representation. |
| 60 | The | 60 | The |
| 61 | .Fn strtof | 61 | .Fn strtof |
| 62 | function converts the initial portion of the string pointed to by | 62 | function converts the initial portion of the string pointed to by |
| 63 | .Fa nptr | 63 | .Fa nptr |
| 64 | to | 64 | to |
| 65 | .Li float | 65 | .Vt float |
| 66 | representation. | 66 | representation. |
| 67 | The | 67 | The |
| 68 | .Fn strtold | 68 | .Fn strtold |
| 69 | function converts the initial portion of the string pointed to by | 69 | function converts the initial portion of the string pointed to by |
| 70 | .Fa nptr | 70 | .Fa nptr |
| 71 | to | 71 | to |
| 72 | .Li long double | 72 | .Vt long double |
| 73 | representation. | 73 | representation. |
| 74 | .Pp | 74 | .Pp |
| 75 | The expected form of the string is an optional plus | 75 | The expected form of the string is an optional plus |
diff --git a/src/lib/libc/stdlib/strtonum.3 b/src/lib/libc/stdlib/strtonum.3 index 43df0edc78..87a3ccd588 100644 --- a/src/lib/libc/stdlib/strtonum.3 +++ b/src/lib/libc/stdlib/strtonum.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: strtonum.3,v 1.18 2016/02/07 20:50:24 mmcc Exp $ | 1 | .\" $OpenBSD: strtonum.3,v 1.19 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2004 Ted Unangst | 3 | .\" Copyright (c) 2004 Ted Unangst |
| 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: February 7 2016 $ | 17 | .Dd $Mdocdate: September 11 2022 $ |
| 18 | .Dt STRTONUM 3 | 18 | .Dt STRTONUM 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -35,7 +35,7 @@ The | |||
| 35 | function converts the string in | 35 | function converts the string in |
| 36 | .Fa nptr | 36 | .Fa nptr |
| 37 | to a | 37 | to a |
| 38 | .Li long long | 38 | .Vt long long |
| 39 | value. | 39 | value. |
| 40 | The | 40 | The |
| 41 | .Fn strtonum | 41 | .Fn strtonum |
| @@ -56,7 +56,7 @@ or | |||
| 56 | sign. | 56 | sign. |
| 57 | .Pp | 57 | .Pp |
| 58 | The remainder of the string is converted to a | 58 | The remainder of the string is converted to a |
| 59 | .Li long long | 59 | .Vt long long |
| 60 | value according to base 10. | 60 | value according to base 10. |
| 61 | .Pp | 61 | .Pp |
| 62 | The value obtained is then checked against the provided | 62 | The value obtained is then checked against the provided |
diff --git a/src/lib/libc/string/memccpy.3 b/src/lib/libc/string/memccpy.3 index 98326d6871..ac5719918f 100644 --- a/src/lib/libc/string/memccpy.3 +++ b/src/lib/libc/string/memccpy.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: memccpy.3,v 1.12 2013/09/25 21:49:30 millert Exp $ | 1 | .\" $OpenBSD: memccpy.3,v 1.13 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991, 1993 | 3 | .\" Copyright (c) 1990, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -29,7 +29,7 @@ | |||
| 29 | .\" | 29 | .\" |
| 30 | .\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93 | 30 | .\" @(#)memccpy.3 8.1 (Berkeley) 6/9/93 |
| 31 | .\" | 31 | .\" |
| 32 | .Dd $Mdocdate: September 25 2013 $ | 32 | .Dd $Mdocdate: September 11 2022 $ |
| 33 | .Dt MEMCCPY 3 | 33 | .Dt MEMCCPY 3 |
| 34 | .Os | 34 | .Os |
| 35 | .Sh NAME | 35 | .Sh NAME |
| @@ -49,7 +49,7 @@ to string | |||
| 49 | If the character | 49 | If the character |
| 50 | .Fa c | 50 | .Fa c |
| 51 | (as converted to an | 51 | (as converted to an |
| 52 | .Li unsigned char ) | 52 | .Vt unsigned char ) |
| 53 | occurs in the string | 53 | occurs in the string |
| 54 | .Fa src , | 54 | .Fa src , |
| 55 | the copy stops and a pointer to the byte after the copy of | 55 | the copy stops and a pointer to the byte after the copy of |
diff --git a/src/lib/libc/string/memchr.3 b/src/lib/libc/string/memchr.3 index 8d8a9ddf9c..2c961b6338 100644 --- a/src/lib/libc/string/memchr.3 +++ b/src/lib/libc/string/memchr.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: memchr.3,v 1.12 2014/04/07 17:57:56 schwarze Exp $ | 1 | .\" $OpenBSD: memchr.3,v 1.13 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| @@ -31,7 +31,7 @@ | |||
| 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: April 7 2014 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt MEMCHR 3 | 35 | .Dt MEMCHR 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -50,7 +50,7 @@ The | |||
| 50 | function locates the first occurrence of | 50 | function locates the first occurrence of |
| 51 | .Fa c | 51 | .Fa c |
| 52 | (converted to an | 52 | (converted to an |
| 53 | .Li unsigned char ) | 53 | .Vt unsigned char ) |
| 54 | in string | 54 | in string |
| 55 | .Fa b . | 55 | .Fa b . |
| 56 | .Pp | 56 | .Pp |
diff --git a/src/lib/libc/string/memcmp.3 b/src/lib/libc/string/memcmp.3 index 25d308e617..86a95c8c19 100644 --- a/src/lib/libc/string/memcmp.3 +++ b/src/lib/libc/string/memcmp.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: memcmp.3,v 1.9 2014/06/13 02:12:17 matthew Exp $ | 1 | .\" $OpenBSD: memcmp.3,v 1.10 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| @@ -31,7 +31,7 @@ | |||
| 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: June 13 2014 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt MEMCMP 3 | 35 | .Dt MEMCMP 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -57,7 +57,7 @@ The | |||
| 57 | function returns zero if the two strings are identical, | 57 | function returns zero if the two strings are identical, |
| 58 | otherwise returns the difference between the first two differing bytes | 58 | otherwise returns the difference between the first two differing bytes |
| 59 | (treated as | 59 | (treated as |
| 60 | .Li unsigned char | 60 | .Vt unsigned char |
| 61 | values, so that | 61 | values, so that |
| 62 | .Sq Li \e200 | 62 | .Sq Li \e200 |
| 63 | is greater than | 63 | is greater than |
diff --git a/src/lib/libc/string/memset.3 b/src/lib/libc/string/memset.3 index ac5b7e90ad..0051ff615d 100644 --- a/src/lib/libc/string/memset.3 +++ b/src/lib/libc/string/memset.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: memset.3,v 1.8 2013/06/05 03:39:23 tedu Exp $ | 1 | .\" $OpenBSD: memset.3,v 1.9 2022/09/11 06:38:11 jmc Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| @@ -31,7 +31,7 @@ | |||
| 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: June 5 2013 $ | 34 | .Dd $Mdocdate: September 11 2022 $ |
| 35 | .Dt MEMSET 3 | 35 | .Dt MEMSET 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -49,7 +49,7 @@ function writes | |||
| 49 | bytes of value | 49 | bytes of value |
| 50 | .Fa c | 50 | .Fa c |
| 51 | (converted to an | 51 | (converted to an |
| 52 | .Li unsigned char ) | 52 | .Vt unsigned char ) |
| 53 | to the string | 53 | to the string |
| 54 | .Fa b . | 54 | .Fa b . |
| 55 | .Sh RETURN VALUES | 55 | .Sh RETURN VALUES |
