From 4e468ed2eb86a2406e14f1eca82072ee501d05fd Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:03:48 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- libc/include/net/if.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/include/net/if.h') diff --git a/libc/include/net/if.h b/libc/include/net/if.h index 763ac5b..9044fc5 100644 --- a/libc/include/net/if.h +++ b/libc/include/net/if.h @@ -37,5 +37,6 @@ __BEGIN_DECLS * Map an interface name into its corresponding index. */ extern unsigned int if_nametoindex(const char *); +extern char* if_indextoname(unsigned ifindex, char *ifname); __END_DECLS -- cgit v1.1