libowfat_socket_getifidx man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

socket_getifidx(3)					    socket_getifidx(3)

NAME
       socket_getifidx - get interface number

SYNTAX
       #include <socket.h>

       int socket_getifidx(const char* ifname);

DESCRIPTION
       socket_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 ALSO
       socket_getifname(3), socket_connect6(3)

							    socket_getifidx(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net