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/strcat.c | |
parent | 9222a64f2e86db0d94b977d79c274d1d07003b0a (diff) |
update to 1:1 checked functions
Diffstat (limited to 'src/string/strcat.c')
-rw-r--r-- | src/string/strcat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strcat.c b/src/string/strcat.c index 3855cff3..547eac3e 100644 --- a/src/string/strcat.c +++ b/src/string/strcat.c @@ -22,6 +22,8 @@ char * strcat(char * restrict s1, const char * restrict s2) return s1; } +__check_2(char *, 0, strcat, char * restrict, const char * restrict) + /*** appends a copy of the string at ARGUMENT(s2) to the end of the string at ARGUMENT(s1). The first byte of ARGUMENT(s2) will overwrite the terminating |