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/memset_s.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/memset_s.c') diff --git a/src/string/memset_s.c b/src/string/memset_s.c index 0708f338..f79c3e54 100644 --- a/src/string/memset_s.c +++ b/src/string/memset_s.c @@ -17,6 +17,8 @@ errno_t memset_s(void *s, rsize_t smax, int c, rsize_t n) return 0; } +__check_4(errno_t, 0, memset_s, void *, rsize_t, int, rsize_t) + /*** The fn(memset) function fills the first arg(n) bytes of memory at arg(s) with the value arg(c) (converted to an type(unsigned char)). -- cgit v1.2.1