Home » Questions » Computers [ Ask a new question ]

Where can i find the actual location of the pthread.h file in Linux?

Where can i find the actual location of the pthread.h file in Linux?

I am working on something and I needed to dig inside the implementation of the pthread_create() function of POSIX threads in Linux.

Asked by: Guest | Views: 452
Total answers/comments: 1
Guest [Entry]

"One of the easiest ways to find any file on most linux systems is to use the locate command

$ locate pthread.h

That being said, the file on my Ubuntu system is located at: /usr/include/pthread.h"