Hamza Yerlikaya
Hamza Yerlikaya

Reputation: 49339

Locating Libraries

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

Answers (1)

martin clayton
martin clayton

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

Related Questions