diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-01-31 00:00:11 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-01-31 00:00:11 -0500 |
commit | f10737a4ee4a818acdc28fa2e32c85a74f47eb5c (patch) | |
tree | ef6999fa663f3e6f6e6137ab6218ff68ff197dd3 /src/string/memmove_s.c | |
parent | 9222a64f2e86db0d94b977d79c274d1d07003b0a (diff) |
update to 1:1 checked functions
Diffstat (limited to 'src/string/memmove_s.c')
-rw-r--r-- | src/string/memmove_s.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/memmove_s.c b/src/string/memmove_s.c index 3dea9080..0475ee00 100644 --- a/src/string/memmove_s.c +++ b/src/string/memmove_s.c @@ -17,6 +17,8 @@ errno_t memmove_s(void *s1, rsize_t s1max, const void *s2, rsize_t n) return 0; } +__check_4(errno_t, 0, memmove_s, void *, rsize_t, const void *, rsize_t) + /*** The fn(memmove) function copies arg(n) bytes of memory from the object at arg(s2) to the object at arg(s1). If arg(s1) and arg(s2) overlap, the memory |