tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using backtrace(3) in libpthread



On Apr 25,  6:54pm, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: using backtrace(3) in libpthread

| On Fri, Apr 25, 2014 at 05:17:11PM +0000, Christos Zoulas wrote:
| > You want syslog_r 
| 
| What is the proper wy to call openlog_r()? When doing it 
| in pthread_key_create() I get no better success.

You don't need openlog.

        struct syslog_data sd = SYSLOG_DATA_INIT;
        syslog_r(..., &sd, ...);

christos


Home | Main Index | Thread Index | Old Index