From f10737a4ee4a818acdc28fa2e32c85a74f47eb5c Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 00:00:11 -0500 Subject: update to 1:1 checked functions --- src/string/strerror_s.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/strerror_s.c') diff --git a/src/string/strerror_s.c b/src/string/strerror_s.c index c78b0bba..65ff77c4 100644 --- a/src/string/strerror_s.c +++ b/src/string/strerror_s.c @@ -10,6 +10,8 @@ errno_t strerror_s(char *s, rsize_t maxsize, errno_t errnum) return errnum; } +__check_3(errno_t, 0, strerror_s, char *, rsize_t, errno_t) + /*** The fn(strerror_s) converts the error number arg(errnum) to an error message string. The string returned should not be modified, and may be overwritten by -- cgit v1.2.1