Re: gmodule-dl.c: _g_module_symbol()



On Tue, 2006-12-12 at 16:10 +0100, Michael Natterer wrote:
> On Mon, 2006-12-11 at 18:41 +0100, Felix Kater wrote:
> > Just this annotation:
> > 
> > On linux 'man dlopen' says that the correct way to check if dlsym() was
> > successful is to do something like this
> > 
> > dlerror();
> > p=dlsym(...);
> > pc=dlerror();
> > if(pc)
> >   /* (error) */
> > else
> >   /* (ok) */
> > 

Anyone know if dlerror is thread safe?

J.

-- 
Jan Schmidt thaytan noraisin net

T - "If we were anyone but us, the fact that being shot down is often
fatal would be a factor there."
R - "And if beggars were horses, something something ferrets."
- Triangle & Robert #1860





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]