diff options
| author | schwarze <> | 2025-06-13 18:34:00 +0000 |
|---|---|---|
| committer | schwarze <> | 2025-06-13 18:34:00 +0000 |
| commit | 733099db79c3c2668c3ba1571684bd82b40ea7b0 (patch) | |
| tree | b89fb48431941cd306c4b2f6910aba884d76e554 /src/lib/libc/net/if_indextoname.3 | |
| parent | 88ea7e05d0419eb2d0343eddafbd339aceed1d68 (diff) | |
| download | openbsd-733099db79c3c2668c3ba1571684bd82b40ea7b0.tar.gz openbsd-733099db79c3c2668c3ba1571684bd82b40ea7b0.tar.bz2 openbsd-733099db79c3c2668c3ba1571684bd82b40ea7b0.zip | |
The mdoc(7) .Ft macro does not need quoting of its arguments, but about
10% of our manual pages using this macro employed useless quoting anyway.
Remove these quotes such that they do not incite fear, uncertainty,
and doubt in developers who happen to look at these pages.
jmc@ and tb@ agree with the direction.
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 |
