Thread programming - Basic question
Posted on 2003-12-09
I was reading thread programming chapter, and saw following line of code:
perror = ("Thread creation failed.");
I think perror is a thread function defined in the library <pthread.h>. My question is what does perror do? Does it print the error message? to where?
Second question would be how do I see all the functions defined in a particular library? I am looking for command on linux to see <pthread.h> library.
Your help is greatly appreciated!