commit | 4e468ed2eb86a2406e14f1eca82072ee501d05fd | [log] [tgz] |
---|---|---|
author | The Android Open Source Project <initial-contribution@android.com> | Wed Dec 17 18:03:48 2008 -0800 |
committer | The Android Open Source Project <initial-contribution@android.com> | Wed Dec 17 18:03:48 2008 -0800 |
tree | 4e05b3c66eef86531e464521a3bf96a1864d4bf5 | |
parent | a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 [diff] [blame] |
Code drop from //branches/cupcake/...@124589
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 @@ * 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