minix/external/bsd/mdocml/dist/test-strptime.c
Lionel Sambuc 92395e9c3f external/bsd/mdocml: Update
Change-Id: I17b54e52e8322676d83ed4386f586f8ef3029f72
2014-03-01 09:04:56 +01:00

13 lines
213 B
C

#if defined(__linux__) || defined(__MINT__)
# define _GNU_SOURCE /* strptime(), getsubopt() */
#endif
#include <time.h>
int
main(int argc, char **argv)
{
struct tm tm;
strptime(*argv, "%D", &tm);
return 0;
}