Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Libc timezone functions

$
0
0

Hi,

I want to use the function "tzset()" declared under "time.h" to control the timezone.

This function is described in "GNU Tools ARM Embedded\4.9 2015q3\share\doc\gcc-arm-none-eabi\pdf\libc.pdf" in Chapter 8.11.

To be able to use it, I put the compilation optimization on "GNU ISO C99" instead of "ISO C99"

In the case of a project WITHOUT threadX tzset() works.

In the case of a project WITH threadX tzset() remains blocked.

I tried with "_tzset_r(_REENT)" under threadX but it does not work either.

Do you have a solution ?

Thank you

Phil


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>