On Thu, Apr 09, 2009 at 11:09:34AM +0200, Joachim Worringen wrote: > >On Thu, 2009-04-09 at 14:16 +0530, gautham k wrote: > >>hello everyone > >> > >> I am looking into system call failure i know that system call fail > >>when errno is non-zero > > Not exactly right: the return code of a system call indicates failure or > success. Only if the return code indicates a failure (== -1, usually), > errno contains valid information.
True for the userland "errno" variable. The dtrace "errno" variable, on the other hand, is non-zero if and only if the system call failed. Cheers, - jonathan _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org