-struct tm *
-posixtm (const char *s, unsigned int syntax_bits)
-{
- if (posixtime (s, syntax_bits) == -1)
- return NULL;
- return &t;
-}
-
-#ifdef TEST_POSIXTIME
-/*
- Test mainly with syntax_bits == 13
- (aka: (PDS_LEADING_YEAR | PDS_CENTURY | PDS_SECONDS))
-
-BEGIN-DATA
-1112131415 13 1323807300 Tue Dec 13 14:15:00 2011
-1112131415.16 13 1323807316 Tue Dec 13 14:15:16 2011
-201112131415.16 13 1323807316 Tue Dec 13 14:15:16 2011
-191112131415.16 13 -1 ***
-203712131415.16 13 2144348116 Sun Dec 13 14:15:16 2037
-3712131415.16 13 2144348116 Sun Dec 13 14:15:16 2037
-6812131415.16 13 -1 ***
-6912131415.16 13 -1 ***
-7012131415.16 13 29967316 Sun Dec 13 14:15:16 1970
-12131415.16 13 913580116 Sun Dec 13 14:15:16 1998
-
-1213141599 2 945116100 Mon Dec 13 14:15:00 1999
-1213141500 2 976738500 Wed Dec 13 14:15:00 2000
-END-DATA
-
-*/