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/strcat_s.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/strcat_s.c') diff --git a/src/string/strcat_s.c b/src/string/strcat_s.c index 40c474df..45cfefd4 100644 --- a/src/string/strcat_s.c +++ b/src/string/strcat_s.c @@ -12,6 +12,8 @@ errno_t strcat_s(char * restrict s1, rsize_t s1max, const char * restrict s2) return 0; } +__check_3(errno_t, 0, strcat_s, char * restrict, rsize_t, const char * restrict) + /*** The fn(strcat) function appends a copy of the string at arg(s2) to the end of the string at arg(s1). The first byte of arg(s2) will overwrite the terminating -- cgit v1.2.1