*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> if_indextoname (3)              
Title
Content
Arch
Section
 

if_indextoname(3)

Contents


NAME    [Toc]    [Back]

       if_indextoname  -  Map  an interface index to an interface
       name

SYNOPSIS    [Toc]    [Back]

       #include <net/if.h>

       char *if_indextoname(
               unsigned int ifindex,
               char *ifname );

LIBRARY    [Toc]    [Back]

       Standard C Library (libc)

PARAMETERS    [Toc]    [Back]

       Specifies the index number.  Points to a buffer,  IFNAMSIZ
       bytes  in  length,  into which the function will place the
       interface name. IFNAMSIZ is defined in <net/if.h>.

DESCRIPTION    [Toc]    [Back]

       The if_indextoname() function maps an interface index number
 to its corresponding interface name.

RETURN VALUES    [Toc]    [Back]

       Upon  successful conversion, the if_indextoname() function
       returns the value specified in the ifname parameter, which
       points  the  buffer  that now contains the interface name.
       If no interface name corresponds to the index, it  returns
       a NULL pointer.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:  if_freenameindex(3), if_nameindex(3), if_nametoindex(3).



                                                if_indextoname(3)
[ Back ]
 Similar pages
Name OS Title
if_nametoindex Tru64 Map an interface name to an interface index
if_nametoindex OpenBSD convert interface index to name, and vice versa
if_nameindex OpenBSD convert interface index to name, and vice versa
if_indextoname OpenBSD convert interface index to name, and vice versa
if_freenameindex OpenBSD convert interface index to name, and vice versa
tirdwr IRIX Transport Interface read/write interface STREAMS module
diag2 HP-UX interface for diagnostic logging and interface to processors
ifup Linux bring a network interface up ifdown - take a network interface down
pci_set_powerstate FreeBSD PCI bus interface
pci_disable_busmaster FreeBSD PCI bus interface
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service