Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
socket_getifname(3)	    Library Functions Manual	     socket_getifname(3)

NAME
     socket_getifname - get interface name

SYNTAX
     #include <libowfat/socket.h>

     const char* socket_getifname(uint32 interface);

DESCRIPTION
     socket_getifname  returns	the symbolic interface name for a network inter-
     face 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 be-
     fore calling socket_getifidx again.

     If something goes wrong, socket_getifname returns "[unknown]".

SEE ALSO
     socket_getifidx(3), socket_connect6(3)

							     socket_getifname(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_socket_getifname&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help