LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   looking for the source to sleep() (https://www.linuxquestions.org/questions/linux-software-2/looking-for-the-source-to-sleep-617731/)

enocompton 01-31-2008 01:31 PM

looking for the source to sleep()
 
There must be tools to answer the following questions

1. What library contains a specific function (such as sleep)?

2. What functions does a given library supply?

What are those tools, please ?


I presume, if I knew the library, I could easily find the source but I'd be happy if you would educate me if you sense a misunderstanding.

purgatory_red

Uncle_Theodore 01-31-2008 01:46 PM

Well, for the second question you might try using the nm command
Something like lis:

nm /usr/lib/libm.so | grep W


All times are GMT -5. The time now is 08:22 AM.