summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/if_indextoname.3
diff options
context:
space:
mode:
authortedu <>2013-06-05 03:39:23 +0000
committertedu <>2013-06-05 03:39:23 +0000
commit9144d249f7d631607805dfaa764531b75021a078 (patch)
tree97667fe496ef1ff70a824f63a20a3b9e63a34bc8 /src/lib/libc/net/if_indextoname.3
parent3c06c9f91ba98ce2cdea4031cbaf6c10a938902b (diff)
downloadopenbsd-9144d249f7d631607805dfaa764531b75021a078.tar.gz
openbsd-9144d249f7d631607805dfaa764531b75021a078.tar.bz2
openbsd-9144d249f7d631607805dfaa764531b75021a078.zip
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
Diffstat (limited to 'src/lib/libc/net/if_indextoname.3')
-rw-r--r--src/lib/libc/net/if_indextoname.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/net/if_indextoname.3 b/src/lib/libc/net/if_indextoname.3
index df17389917..7ca28c6b92 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.13 2012/09/27 11:31:58 jmc Exp $ 1.\" $OpenBSD: if_indextoname.3,v 1.14 2013/06/05 03:39:23 tedu 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: September 27 2012 $ 31.Dd $Mdocdate: June 5 2013 $
32.Dt IF_NAMETOINDEX 3 32.Dt IF_NAMETOINDEX 3
33.Os 33.Os
34.Sh NAME 34.Sh NAME
@@ -38,9 +38,9 @@
38.Nm if_freenameindex 38.Nm if_freenameindex
39.Nd convert interface index to name, and vice versa 39.Nd convert interface index to name, and vice versa
40.Sh SYNOPSIS 40.Sh SYNOPSIS
41.Fd #include <sys/types.h> 41.In sys/types.h
42.Fd #include <sys/socket.h> 42.In sys/socket.h
43.Fd #include <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 *"