aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat/check_asctime.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/check_asctime.c')
-rw-r--r--compat/check_asctime.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/compat/check_asctime.c b/compat/check_asctime.c
new file mode 100644
index 00000000..b0e56f0c
--- /dev/null
+++ b/compat/check_asctime.c
@@ -0,0 +1,11 @@
+#include <time.h>
+#include <stdio.h>
+
+int main()
+{
+ struct tm tm;
+
+ (void) asctime_r (&tm, NULL);
+
+ return (0);
+}