13 Oct, 2011, Rarva.Riendf wrote in the 1st comment:
Votes: 0
Cannot find this struct in time.h anymore. (in Fedora 16)
struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; };
It is used in methods like memo in ROM I was wondering if anyone know where is it now or if it is totally deprecated, as my googling says nothing about it yet.
It's ISO C99 Standard, so it should be there. Are you sure you didn't look at the wrong time.h? There are a few.
13 Oct, 2011, Rarva.Riendf wrote in the 3rd comment:
Votes: 0
No have not changed anything in the code, still <sys/time.h>. I really don't get it. It appeared with gcc 4.6, that has nice useful warnings (stuff like break missing, or suspisious ; etc, not always real errors, but it can help to discover some typos)
struct tm
{
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
It is used in methods like memo in ROM
I was wondering if anyone know where is it now or if it is totally deprecated, as my googling says nothing about it yet.