1socket_getifname(3)        Library Functions Manual        socket_getifname(3)
2
3
4

NAME

6       socket_getifname - get interface name
7

SYNTAX

9       #include <socket.h>
10
11       const char* socket_getifname(uint32 interface);
12

DESCRIPTION

14       socket_getifname  returns  the  symbolic  interface  name for a network
15       interface number.  The returned char* is a static buffer in  the  libc.
16       If  you  query  the named for more than one interface, you have to save
17       the name before calling socket_getifidx again.
18
19       If something goes wrong, socket_getifname returns "[unknown]".
20
21

SEE ALSO

23       socket_getifidx(3), socket_connect6(3)
24
25
26
27                                                           socket_getifname(3)
Impressum