Reputation: 49339
I am playing with JNA on Mac OS X and Linux. My question is if i am looking for a function "if_nametoindex" how to figure out which library to load? Most of the example i could find concentrate on Windows and they load "kernel32".
Upvotes: 1
Views: 84
Reputation: 78215
On my Leopard Mac man 3 if_nametoindex
says:
LIBRARY
Standard C Library (libc, -lc)
Obviously that's a 'manual' rather than an automated approach...
Upvotes: 1