Skip to contentSkip to conversation

timer_create fails with return -1 errno 0

Buildroot Grant Edwards 1 participant 2 messages Oct 18, 2011

lore
Share & tools
lore
#0 lore raw

I can't figure out why timer_create() is failing. It returns -1, but errno is 0: "Success".

I'm using uClibc uClibc-0.9.30.3 (built by crosstool-NG) on an ARM926 buildroot system.

The same code ran fine using glibc on a desktop IA32 system.

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! Now we can become
                                  at               alcoholics!
                              gmail.com            
#1 lore raw
Quoted 7 lines · Grant Edwards

I can't figure out why timer_create() is failing. It returns -1, but errno is 0: "Success".

I'm using uClibc uClibc-0.9.30.3 (built by crosstool-NG) on an ARM926 buildroot system.

The same code ran fine using glibc on a desktop IA32 system.

Sorry, I meant to post that to the uclibc.general list...

Signature · 3 lines
Grant Edwards               grant.b.edwards        Yow! ... I see TOILET
                                  at               SEATS ...
                              gmail.com