libtime++: Date and time calculation

◆ main()

main ( )

Definition at line 32 of file timer.c.

References timeb::dstflag, ftime(), timeb::millitm, timeb::time, and timeb::timezone.

33 {
34  struct timeb zeit;
35  int resulter, i,j, k;
36  printf("hi there\n");
37  for (i=0;i<20;i++)
38  {
39  resulter=ftime(&zeit);
40  printf("%d %d %huh %hdh %hdh\n",resulter, zeit.time, zeit.millitm,
41  zeit.timezone, zeit.dstflag);
42  for (j=1;j<5000;j++)
43  k=j*50+4/j*j;
44  }
45 }
Definition: timer.c:23
int ftime(struct timeb *__tp)
Here is the call graph for this function: