summaryrefslogtreecommitdiff
path: root/tryn2i.c
blob: b4f148e5349a0f7a6dd4df0c0d478214f3db9f8c (plain)
1
2
3
4
5
6
7
8
9
10
#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;
}