diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 22:59:08 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 22:59:08 -0500 |
| commit | e04cf58cf3b404644b9983225ba625d656034078 (patch) | |
| tree | 8238bd547c795811197f2914ca999e7903216822 /src/time/asctime_s.c | |
| parent | 841ec551221a44355beba6593cec462347df0d12 (diff) | |
update to 1:1 checked functions
Diffstat (limited to 'src/time/asctime_s.c')
| -rw-r--r-- | src/time/asctime_s.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time/asctime_s.c b/src/time/asctime_s.c index 8a551c1f..84f20cc7 100644 --- a/src/time/asctime_s.c +++ b/src/time/asctime_s.c @@ -21,6 +21,8 @@ errno_t asctime_s(char *s, rsize_t maxsize, const struct tm * timeptr) return 0; } +__check_3(errno_t, 0, asctime_s, char *, rsize_t, const struct tm *) + /*** The fn(asctime) function converts the time specified at arg(timeptr) to a string in the format string(DDD MMM dd hh:mm:ss yyyy\n\0), where str(DDD) is the |
