92395e9c3f
Change-Id: I17b54e52e8322676d83ed4386f586f8ef3029f72
13 lines
213 B
C
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;
|
|
}
|