I am doing a toy project. I want to find setitimer’s source code. But after I tried “whereis” command, nothing came out.
Could you help me?
Thanks!
I am doing a toy project. I want to find setitimer’s source code. But
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can find it in
sys/kern/kern_time.cin the functionkern_setitimer.If you’ve got the kernel source installed on your system, the file is
/usr/src/sys/kern/kern_time.c.