if_indextoname(3) osf1 man page | unix.com

Man Page: if_indextoname

Operating Environment: osf1

Section: 3

if_indextoname(3)					     Library Functions Manual						 if_indextoname(3)

NAME
if_indextoname - Maps an interface index to an interface name
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <net/if.h> char *if_indextoname ( unsigned int ifindex, char *ifname) ;
PARAMETERS
Specifies the index number. Points to a buffer, IFNAMSIZ bytes in length, that contains the interface name. IFNAMSIZ is defined in <net/if.h>.
DESCRIPTION
The if_indextoname() function maps an interface index number to its corresponding interface name.
RETURN VALUES
Upon successful conversion, the if_indextoname() function returns a pointer to the buffer containing the interface name. If no interface name corresponds to the index, it returns a pointer to the buffer containing NULL.
RELATED INFORMATION
Functions: if_freenameindex(3), if_nameindex(3), if_nametoindex(3). delim off if_indextoname(3)
Related Man Pages
if_nameindex(3) - mojave
if_nameindex(3) - freebsd
if_nametoindex(3) - centos
if_freenameindex(3) - osx
if_indextoname(3) - freebsd
Similar Topics in the Unix Linux Community
Throw my Toys out of the Pram!
Low Impact PHP Errors and Logging Levels
PHP Write Man Pages to MySQL DB
Denial Of Service Attack Update