Mapper
tim.c
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <time.h>
3 
4 tim()
5 {
6  struct tm *timeptr;
7  time_t timer;
8  int mon_day;
9  time(&timer);
10  timeptr = localtime(&timer);
11  mon_day = (timeptr->tm_mon+1)*100 + timeptr->tm_mday;
12  return mon_day;
13 }
XtIntervalId timer
Definition: display_rec.c:4
tim()
Definition: tim.c:4