Subj : Re: How to deal with errno in a multipthread program To : comp.programming.threads From : David Schwartz Date : Fri Apr 15 2005 04:27 pm "icoming" wrote in message news:1113578925.652155.42640@g14g2000cwa.googlegroups.com... > Is it enough to deal with it as follow: > int err=errno; > func(); //this function may modify the errno > errno=err; > I read W.Richard Stevens's UNIX Network Programming, it uses this way, > but I do not think it's enough, but do not know there is better one. What is the problem you are trying to solve? DS .