summaryrefslogtreecommitdiff
path: root/src/string/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strncpy.c')
-rw-r--r--src/string/strncpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index 10786ebd..94fcc2f5 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -24,6 +24,8 @@ char * strncpy(char * restrict s1, const char * restrict s2, size_t n)
return s1;
}
+CHECK_3(char *, 0, strncpy, char * restrict, const char * restrict, size_t)
+
/***
copies up to ARGUMENT(n) bytes from the string at ARGUMENT(s2)
to ARGUMENT(s1). If a CHAR(\0) is encountered, null characters are appended to