#include #include #include #include #include #include int main(int argc, char *argv[]) { time_t t = time(NULL); struct tm tm = *localtime(&t); FILE *fp; fp=fopen("append.txt", "a+"); fprintf(fp,"%d-%d-%d %d:%d:%d\n", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec); fprintf(fp,"%d\n", ((int) t)/60*60); fclose(fp); return 0; } id='header'> cgit logo index : dtv-scan-tables.git
Digital TV scan tablesJonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-01-05update scan file for fr-ParisChristoph Pfister1-9/+13
http://linuxtv.org/pipermail/linux-dvb/2008-January/022715.html
2007-12-31add / update scan files for South American satellitesChristoph Pfister32-0/+896
http://linuxtv.org/pipermail/linux-dvb/2007-December/022613.html