Question
Je joue avec la JNA sur Mac OS X et Linux. Ma question est de savoir si je suis à la recherche d'une fonction « if_nametoindex » comment comprendre dans quelle bibliothèque pour charger? La plupart de l'exemple que je pourrais trouver se concentrer sur Windows et ils charger « kernel32 ».
La solution
Sur mon Mac Leopard man 3 if_nametoindex
dit:
LIBRARY
Standard C Library (libc, -lc)
Il est évident que c'est un « manuel » plutôt que d'une approche automatisée ...
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow