02-17-2011
1,015,
157
Join Date: Jun 2009
Last Activity: 25 June 2018, 8:15 AM EDT
Posts: 1,015
Thanks Given: 3
Thanked 157 Times in 149 Posts
What OS?
On Solaris 10 or later, or in multithreaded processes on just about any version of Solaris, probably the easiest way is to set a break in the ___errno() function that's used to return a pointer to each thread's errno variable.