How to get information about a .dylib?

I found a .dylib and I want to use it, but I do not have the documentation.

Is there’s a trick to get that documentation from the .dylib ?

I dropped the file in a Terminal window, but no valuable result was given.

in terminal, start by typing thongs like

man nm
man otool

and read.
But while you may learn function names, you may still need some C header file.

Thank you Christian.

My memory knows I had to use the Terminal, but I forgot the “How To” !

Have a nice week-end. :ukraine: