summaryrefslogtreecommitdiff
path: root/src/time/ctime_s.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/ctime_s.c')
-rw-r--r--src/time/ctime_s.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time/ctime_s.c b/src/time/ctime_s.c
index aff8a533..a7a68516 100644
--- a/src/time/ctime_s.c
+++ b/src/time/ctime_s.c
@@ -10,6 +10,8 @@ errno_t ctime_s(char *s, rsize_t maxsize, const time_t *timer)
return 0;
}
+__check_3(errno_t, 0, ctime_s, char *, rsize_t, const time_t *)
+
/***
The fn(ctime) converts the time at arg(timer) to a string in the same format as
fn(asctime).