summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/net/gai_strerror.36
-rw-r--r--src/lib/libc/net/if_indextoname.312
-rw-r--r--src/lib/libc/net/inet6_opt_init.318
-rw-r--r--src/lib/libc/net/inet6_rth_space.38
-rw-r--r--src/lib/libc/stdlib/ptsname.36
-rw-r--r--src/lib/libc/stdlib/rand48.38
-rw-r--r--src/lib/libc/stdlib/realpath.36
-rw-r--r--src/lib/libc/string/memmem.36
8 files changed, 35 insertions, 35 deletions
diff --git a/src/lib/libc/net/gai_strerror.3 b/src/lib/libc/net/gai_strerror.3
index d271f492c5..93d11aad09 100644
--- a/src/lib/libc/net/gai_strerror.3
+++ b/src/lib/libc/net/gai_strerror.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: gai_strerror.3,v 1.10 2017/05/03 01:58:33 deraadt Exp $ 1.\" $OpenBSD: gai_strerror.3,v 1.11 2025/06/13 18:34:00 schwarze Exp $
2.\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 itojun Exp $ 2.\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 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: May 3 2017 $ 19.Dd $Mdocdate: June 13 2025 $
20.Dt GAI_STRERROR 3 20.Dt GAI_STRERROR 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -26,7 +26,7 @@
26.In sys/types.h 26.In sys/types.h
27.In sys/socket.h 27.In sys/socket.h
28.In netdb.h 28.In netdb.h
29.Ft "const char *" 29.Ft const char *
30.Fn gai_strerror "int ecode" 30.Fn gai_strerror "int ecode"
31.Sh DESCRIPTION 31.Sh DESCRIPTION
32The 32The
diff --git a/src/lib/libc/net/if_indextoname.3 b/src/lib/libc/net/if_indextoname.3
index 25d2a2722f..9d00d66bd5 100644
--- a/src/lib/libc/net/if_indextoname.3
+++ b/src/lib/libc/net/if_indextoname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: if_indextoname.3,v 1.16 2015/11/21 07:48:10 jmc Exp $ 1.\" $OpenBSD: if_indextoname.3,v 1.17 2025/06/13 18:34:00 schwarze Exp $
2.\" Copyright (c) 1983, 1991, 1993 2.\" Copyright (c) 1983, 1991, 1993
3.\" The Regents of the University of California. All rights reserved. 3.\" The Regents of the University of California. All rights reserved.
4.\" 4.\"
@@ -28,7 +28,7 @@
28.\" 28.\"
29.\" From: @(#)rcmd.3 8.1 (Berkeley) 6/4/93 29.\" From: @(#)rcmd.3 8.1 (Berkeley) 6/4/93
30.\" 30.\"
31.Dd $Mdocdate: November 21 2015 $ 31.Dd $Mdocdate: June 13 2025 $
32.Dt IF_NAMETOINDEX 3 32.Dt IF_NAMETOINDEX 3
33.Os 33.Os
34.Sh NAME 34.Sh NAME
@@ -41,13 +41,13 @@
41.In sys/types.h 41.In sys/types.h
42.In sys/socket.h 42.In sys/socket.h
43.In net/if.h 43.In net/if.h
44.Ft "unsigned int" 44.Ft unsigned int
45.Fn if_nametoindex "const char *ifname" 45.Fn if_nametoindex "const char *ifname"
46.Ft "char *" 46.Ft char *
47.Fn if_indextoname "unsigned int ifindex" "char *ifname" 47.Fn if_indextoname "unsigned int ifindex" "char *ifname"
48.Ft "struct if_nameindex *" 48.Ft struct if_nameindex *
49.Fn if_nameindex "void" 49.Fn if_nameindex "void"
50.Ft "void" 50.Ft void
51.Fn if_freenameindex "struct if_nameindex *ptr" 51.Fn if_freenameindex "struct if_nameindex *ptr"
52.Sh DESCRIPTION 52.Sh DESCRIPTION
53These functions map interface indexes to interface names (such as 53These functions map interface indexes to interface names (such as
diff --git a/src/lib/libc/net/inet6_opt_init.3 b/src/lib/libc/net/inet6_opt_init.3
index 41ba842166..87244507a9 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.8 2022/03/31 17:27:16 naddy Exp $ 1.\" $OpenBSD: inet6_opt_init.3,v 1.9 2025/06/13 18:34:00 schwarze 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 31 2022 $ 31.Dd $Mdocdate: June 13 2025 $
32.Dt INET6_OPT_INIT 3 32.Dt INET6_OPT_INIT 3
33.Os 33.Os
34.\" 34.\"
@@ -44,19 +44,19 @@
44.\" 44.\"
45.Sh SYNOPSIS 45.Sh SYNOPSIS
46.In netinet/in.h 46.In netinet/in.h
47.Ft "int" 47.Ft int
48.Fn inet6_opt_init "void *extbuf" "socklen_t extlen" 48.Fn inet6_opt_init "void *extbuf" "socklen_t extlen"
49.Ft "int" 49.Ft int
50.Fn inet6_opt_append "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t type" "socklen_t len" "u_int8_t align" "void **databufp" 50.Fn inet6_opt_append "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t type" "socklen_t len" "u_int8_t align" "void **databufp"
51.Ft "int" 51.Ft int
52.Fn inet6_opt_finish "void *extbuf" "socklen_t extlen" "int offset" 52.Fn inet6_opt_finish "void *extbuf" "socklen_t extlen" "int offset"
53.Ft "int" 53.Ft int
54.Fn inet6_opt_set_val "void *databuf" "int offset" "void *val" "socklen_t vallen" 54.Fn inet6_opt_set_val "void *databuf" "int offset" "void *val" "socklen_t vallen"
55.Ft "int" 55.Ft int
56.Fn inet6_opt_next "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t *typep" "socklen_t *lenp" "void **databufp" 56.Fn inet6_opt_next "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t *typep" "socklen_t *lenp" "void **databufp"
57.Ft "int" 57.Ft int
58.Fn inet6_opt_find "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t type" "socklen_t *lenp" "void **databufp" 58.Fn inet6_opt_find "void *extbuf" "socklen_t extlen" "int offset" "u_int8_t type" "socklen_t *lenp" "void **databufp"
59.Ft "int" 59.Ft int
60.Fn inet6_opt_get_val "void *databuf" "socklen_t offset" "void *val" "socklen_t vallen" 60.Fn inet6_opt_get_val "void *databuf" "socklen_t offset" "void *val" "socklen_t vallen"
61.\" 61.\"
62.Sh DESCRIPTION 62.Sh DESCRIPTION
diff --git a/src/lib/libc/net/inet6_rth_space.3 b/src/lib/libc/net/inet6_rth_space.3
index c40b45057e..7304266fe1 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.8 2022/03/31 17:27:16 naddy Exp $ 1.\" $OpenBSD: inet6_rth_space.3,v 1.9 2025/06/13 18:34:00 schwarze 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: March 31 2022 $ 31.Dd $Mdocdate: June 13 2025 $
32.Dt INET6_RTH_SPACE 3 32.Dt INET6_RTH_SPACE 3
33.Os 33.Os
34.\" 34.\"
@@ -45,7 +45,7 @@
45.In netinet/in.h 45.In netinet/in.h
46.Ft socklen_t 46.Ft socklen_t
47.Fn inet6_rth_space "int" "int" 47.Fn inet6_rth_space "int" "int"
48.Ft "void *" 48.Ft void *
49.Fn inet6_rth_init "void *" "socklen_t" "int" "int" 49.Fn inet6_rth_init "void *" "socklen_t" "int" "int"
50.Ft int 50.Ft int
51.Fn inet6_rth_add "void *" "const struct in6_addr *" 51.Fn inet6_rth_add "void *" "const struct in6_addr *"
@@ -53,7 +53,7 @@
53.Fn inet6_rth_reverse "const void *" "void *" 53.Fn inet6_rth_reverse "const void *" "void *"
54.Ft int 54.Ft int
55.Fn inet6_rth_segments "const void *" 55.Fn inet6_rth_segments "const void *"
56.Ft "struct in6_addr *" 56.Ft struct in6_addr *
57.Fn inet6_rth_getaddr "const void *" "int" 57.Fn inet6_rth_getaddr "const void *" "int"
58.\" 58.\"
59.Sh DESCRIPTION 59.Sh DESCRIPTION
diff --git a/src/lib/libc/stdlib/ptsname.3 b/src/lib/libc/stdlib/ptsname.3
index 98705528f5..eea36a5a02 100644
--- a/src/lib/libc/stdlib/ptsname.3
+++ b/src/lib/libc/stdlib/ptsname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ptsname.3,v 1.2 2012/12/04 18:42:16 millert Exp $ 1.\" $OpenBSD: ptsname.3,v 1.3 2025/06/13 18:34:00 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2002 The FreeBSD Project, Inc. 3.\" Copyright (c) 2002 The FreeBSD Project, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -32,7 +32,7 @@
32.\" 32.\"
33.\" $FreeBSD: head/lib/libc/stdlib/ptsname.3 240412 2012-09-12 17:54:09Z emaste $ 33.\" $FreeBSD: head/lib/libc/stdlib/ptsname.3 240412 2012-09-12 17:54:09Z emaste $
34.\" 34.\"
35.Dd $Mdocdate: December 4 2012 $ 35.Dd $Mdocdate: June 13 2025 $
36.Dt PTSNAME 3 36.Dt PTSNAME 3
37.Os 37.Os
38.Sh NAME 38.Sh NAME
@@ -44,7 +44,7 @@
44.In stdlib.h 44.In stdlib.h
45.Ft int 45.Ft int
46.Fn grantpt "int fildes" 46.Fn grantpt "int fildes"
47.Ft "char *" 47.Ft char *
48.Fn ptsname "int fildes" 48.Fn ptsname "int fildes"
49.Ft int 49.Ft int
50.Fn unlockpt "int fildes" 50.Fn unlockpt "int fildes"
diff --git a/src/lib/libc/stdlib/rand48.3 b/src/lib/libc/stdlib/rand48.3
index fa7a7179bc..02e1999db9 100644
--- a/src/lib/libc/stdlib/rand48.3
+++ b/src/lib/libc/stdlib/rand48.3
@@ -9,9 +9,9 @@
9.\" of any kind. I shall in no event be liable for anything that happens 9.\" of any kind. I shall in no event be liable for anything that happens
10.\" to anyone/anything when using this software. 10.\" to anyone/anything when using this software.
11.\" 11.\"
12.\" $OpenBSD: rand48.3,v 1.21 2019/12/20 19:16:40 tb Exp $ 12.\" $OpenBSD: rand48.3,v 1.22 2025/06/13 18:34:00 schwarze Exp $
13.\" 13.\"
14.Dd $Mdocdate: December 20 2019 $ 14.Dd $Mdocdate: June 13 2025 $
15.Dt DRAND48 3 15.Dt DRAND48 3
16.Os 16.Os
17.Sh NAME 17.Sh NAME
@@ -46,9 +46,9 @@
46.Fn srand48 "long seed" 46.Fn srand48 "long seed"
47.Ft void 47.Ft void
48.Fn srand48_deterministic "long seed" 48.Fn srand48_deterministic "long seed"
49.Ft "unsigned short *" 49.Ft unsigned short *
50.Fn seed48 "unsigned short xseed[3]" 50.Fn seed48 "unsigned short xseed[3]"
51.Ft "unsigned short *" 51.Ft unsigned short *
52.Fn seed48_deterministic "unsigned short xseed[3]" 52.Fn seed48_deterministic "unsigned short xseed[3]"
53.Ft void 53.Ft void
54.Fn lcong48 "unsigned short p[7]" 54.Fn lcong48 "unsigned short p[7]"
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3
index 1dec10fef4..1f932e3bb5 100644
--- a/src/lib/libc/stdlib/realpath.3
+++ b/src/lib/libc/stdlib/realpath.3
@@ -28,9 +28,9 @@
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.\" $OpenBSD: realpath.3,v 1.26 2021/10/13 15:04:53 kn Exp $ 31.\" $OpenBSD: realpath.3,v 1.27 2025/06/13 18:34:00 schwarze Exp $
32.\" 32.\"
33.Dd $Mdocdate: October 13 2021 $ 33.Dd $Mdocdate: June 13 2025 $
34.Dt REALPATH 3 34.Dt REALPATH 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -39,7 +39,7 @@
39.Sh SYNOPSIS 39.Sh SYNOPSIS
40.In limits.h 40.In limits.h
41.In stdlib.h 41.In stdlib.h
42.Ft "char *" 42.Ft char *
43.Fn realpath "const char *pathname" "char *resolved" 43.Fn realpath "const char *pathname" "char *resolved"
44.Sh DESCRIPTION 44.Sh DESCRIPTION
45The 45The
diff --git a/src/lib/libc/string/memmem.3 b/src/lib/libc/string/memmem.3
index de62d738de..eeb621f8f6 100644
--- a/src/lib/libc/string/memmem.3
+++ b/src/lib/libc/string/memmem.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: memmem.3,v 1.4 2024/08/03 20:13:23 guenther Exp $ 1.\" $OpenBSD: memmem.3,v 1.5 2025/06/13 18:34:00 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2005 Pascal Gloor <pascal.gloor@spale.com> 3.\" Copyright (c) 2005 Pascal Gloor <pascal.gloor@spale.com>
4.\" 4.\"
@@ -26,7 +26,7 @@
26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27.\" SUCH DAMAGE. 27.\" SUCH DAMAGE.
28.\" 28.\"
29.Dd $Mdocdate: August 3 2024 $ 29.Dd $Mdocdate: June 13 2025 $
30.Dt MEMMEM 3 30.Dt MEMMEM 3
31.Os 31.Os
32.Sh NAME 32.Sh NAME
@@ -34,7 +34,7 @@
34.Nd locate a byte substring in a byte string 34.Nd locate a byte substring in a byte string
35.Sh SYNOPSIS 35.Sh SYNOPSIS
36.In string.h 36.In string.h
37.Ft "void *" 37.Ft void *
38.Fo memmem 38.Fo memmem
39.Fa "const void *big" "size_t big_len" 39.Fa "const void *big" "size_t big_len"
40.Fa "const void *little" "size_t little_len" 40.Fa "const void *little" "size_t little_len"