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/memcpy_s.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/memcpy_s.c') diff --git a/src/string/memcpy_s.c b/src/string/memcpy_s.c index 07211c4c..dc4179ea 100644 --- a/src/string/memcpy_s.c +++ b/src/string/memcpy_s.c @@ -18,6 +18,8 @@ errno_t memcpy_s(void * restrict s1, rsize_t s1max, const void * restrict s2, rs return 0; } +__check_4(errno_t, 0, memcpy_s, void * restrict, rsize_t, const void * restrict, rsize_t) + /*** The fn(memcpy) copies arg(n) bytes from the object at arg(s2) to the object at arg(s1). -- cgit v1.2.1