Say I have a library file, such as cudart.so . How can I view what functions are inside the library, without reverting to a programming guide. I'm working on a Wine project, and I need to be able to look inside a library file, and get 2 things of information from it. I need to get the name of the function, and then the input that is expected.
For examples inside cudart.so there is a function called, cudaSetDevice
Pretend I didn't know that. Now I need a way to find either A)
cudaSetDevice( int device )
or B)
cudaSetDevice( long )
Everything is either a long or a pointer, and for wine I just need to know the name of the function and what input it wants, longs? pointers? both? what order? There has to be a way to find that.
For examples inside cudart.so there is a function called, cudaSetDevice
Pretend I didn't know that. Now I need a way to find either A)
cudaSetDevice( int device )
or B)
cudaSetDevice( long )
Everything is either a long or a pointer, and for wine I just need to know the name of the function and what input it wants, longs? pointers? both? what order? There has to be a way to find that.