You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
178 B
C

#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
int main() {
static char ifname[IFNAMSIZ];
char *tmp=if_indextoname(0,ifname);
(void)tmp;
return 0;
}