diff options
Diffstat (limited to 'src/lib/libc/net/if_indextoname.3')
| -rw-r--r-- | src/lib/libc/net/if_indextoname.3 | 12 |
1 files changed, 6 insertions, 6 deletions
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 |
| 53 | These functions map interface indexes to interface names (such as | 53 | These functions map interface indexes to interface names (such as |
