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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/string/strncpy.c b/src/string/strncpy.c
index 0ecd19fc..b714f0cf 100644
--- a/src/string/strncpy.c
+++ b/src/string/strncpy.c
@@ -2,6 +2,7 @@
#include "_assert.h"
/** copy bounded string **/
+
char * strncpy(char * restrict s1, const char * restrict s2, size_t n)
{
size_t i;
@@ -28,7 +29,8 @@ ARGUMENT(s1) until ARGUMENT(n) bytes have been written. If no null characters ar
in the first ARGUMENT(n) bytes of ARGUMENT(s2), the resulting string will not be null
terminated.
***/
+
/*
- RETURN_ALWAYS(ARGUMENT(s1));
+RETURN_ALWAYS(ARGUMENT(s1));
STDC(1)
*/