socket_getifname(3) debian man page | unix.com

Man Page: socket_getifname

Operating Environment: debian

Section: 3

socket_getifname(3)					     Library Functions Manual					       socket_getifname(3)

NAME
socket_getifname - get interface name
SYNTAX
#include <socket.h> const char* socket_getifname(uint32 interface);
DESCRIPTION
socket_getifname returns the symbolic interface name for a network interface number. The returned char* is a static buffer in the libc. If you query the named for more than one interface, you have to save the name before calling socket_getifidx again. If something goes wrong, socket_getifname returns "[unknown]".
SEE ALSO
socket_getifidx(3), socket_connect6(3) socket_getifname(3)
Related Man Pages
if_nametoindex(3) - linux
if_nametoindex(3) - centos
if_nametoindex(3) - x11r4
if_nametoindex(3) - minix
if_nametoindex(3) - v7
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
Introduction
One instance of comparing grep and awk
How to copy a column of multiple files and paste into new excel file (next to column)?