2d3 Subj : Re: pthread_cond_init: error rtn To : comp.programming.threads From : David Schwartz Date : Thu Feb 24 2005 07:38 pm "Mike - EMAIL IGNORED" wrote in message news:421E9103.685DFA38@yahoo.com... > In IEEE Std 1003.1-2001, for the return value for pthread_cond_init > (among others) I see: > > If successful, the pthread_cond_destroy() and pthread_cond_init() > functions shall return zero; otherwise, an error number shall be > returned to indicate the error. > > errno is not mentioned. Is the value really in the return value > and errno ignored? Yes. The use of 'errno' is ugly in a multi-threaded context, so POSIX didn't add new uses. DS . 0