summaryrefslogtreecommitdiff
path: root/src/time/strftime.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 22:59:08 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 22:59:08 -0500
commite04cf58cf3b404644b9983225ba625d656034078 (patch)
tree8238bd547c795811197f2914ca999e7903216822 /src/time/strftime.c
parent841ec551221a44355beba6593cec462347df0d12 (diff)
update to 1:1 checked functions
Diffstat (limited to 'src/time/strftime.c')
-rw-r--r--src/time/strftime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time/strftime.c b/src/time/strftime.c
index 949ae79b..2ba09ecc 100644
--- a/src/time/strftime.c
+++ b/src/time/strftime.c
@@ -152,6 +152,8 @@ size_t strftime(char * restrict s, size_t maxsize, const char * restrict format,
return converted;
}
+__check_4(size_t, 0, strftime, char * restrict, size_t, const char * restrict, const struct tm *)
+
/***
converts the time at ARGUMENT(timeptr) to a string of no more than
ARGUMENT(maxsize) bytes at ARGUMENT(s). The format of the converted string