Query: socket_getifidx
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
socket_getifidx(3) Library Functions Manual socket_getifidx(3)NAMEsocket_getifidx - get interface numberSYNTAX#include <socket.h> int socket_getifidx(const char* ifname);DESCRIPTIONsocket_getifidx returns the interface number for a symbolic network interface name (like "eth0" on Linux, for example). The interface number can be used as scope_id for IPv6 communications on link-local addresses. If something goes wrong, socket_getifidx returns -1, setting errno appropriately.SEE ALSOsocket_getifname(3), socket_connect6(3) socket_getifidx(3)
| Related Man Pages |
|---|
| if_indextoname(3) - linux |
| scan_ip6if(3) - debian |
| if_nametoindex(3) - centos |
| if_indextoname(3) - debian |
| if_nametoindex(3) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Installing Dash Shell on OS X Lion |
| Weird 'find' results |
| A (ksh) Library For and From UNIX.com |
| My first PERL incarnation... Audio Oscillograph |