osf1 man page for if_indextoname

Query: if_indextoname

OS: osf1

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_nametoindex(3) - mojave
if_indextoname(3) - linux
if_indextoname(3) - centos
if_indextoname(3) - osx
if_nametoindex(3) - osx
Similar Topics in the Unix Linux Community
PHP Write Man Pages to MySQL DB