Put the library close function back into miami.library's function table.
[AROS.git] / test / clib / strptime.c
blob66f6e84d2cecfccb59fa4dc8ba88ffab80b3b91f
1 #include <time.h>
2 #include "test.h"
3 #include <stdio.h>
5 int main()
7 struct tm tm;
8 TEST((strptime("06:07:08 24.04.1982", "%H:%M:%S %e.%m.%Y", &tm) != NULL));
9 TEST((tm.tm_year == 82));
10 TEST((tm.tm_mon == 3));
11 TEST((tm.tm_mday == 24));
12 TEST((tm.tm_hour == 6));
13 TEST((tm.tm_min == 7));
14 TEST((tm.tm_sec == 8));
15 return 0;
18 void cleanup()