timer_create (__UCLIBC_MJN3_ONLY__)

Denys Vlasenko vda.linux at googlemail.com
Thu Jan 8 03:48:46 UTC 2009


On Wednesday 07 January 2009 22:58, Mike Wilson wrote:
> Hello. First post to list. (noob warning).
> 
> I am using uClibc-0.9.28.1, and would like to use the timer_create and 
> related functions, but I notice that in uClibc_dev/usr/include/time.h that 
> these function prototypes are surrounded by:
> 
> #ifdef __UCLIBC_MJN3_ONLY__
> #warning "mjn3 FIXME: a bunch of unimplemented function prototypes."
> #  ifdef __USE_XOPEN2K
> ...
> #endif
> #endif
> 
> What does it mean?

Looks like the declarations are disabled.

> Can I somehow use the functions?

Remove #ifdef __UCLIBC_MJN3_ONLY__ / #endif, write a test program
and try to compile and run it.

Looks like timer_create is indeed implemented in librt.

> Are they available on a newer version of uClibc?
> Is there some work needing to be done to make them function?

I'd say your confirmation that it works may be sufficient
to uncomment it is headers.
--
vda


More information about the uClibc mailing list