summaryrefslogtreecommitdiff
path: root/src/string/strncat.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
commit896e28812c51b9ffdf3efc00c7d7ef699e380a58 (patch)
treeaaa25e093fb4a2ac4c57609e1f745e5ac0734ca8 /src/string/strncat.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
Diffstat (limited to 'src/string/strncat.c')
-rw-r--r--src/string/strncat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/string/strncat.c b/src/string/strncat.c
index e2a64ad5..cd3c8efc 100644
--- a/src/string/strncat.c
+++ b/src/string/strncat.c
@@ -2,6 +2,7 @@
#include "_assert.h"
/** concatenate bounded string **/
+
char * strncat(char * restrict s1, const char * restrict s2, size_t n)
{
char *append = NULL;
@@ -34,7 +35,8 @@ overwrite the terminating null character of ARGUMENT(s1). No characters after th
first CHAR(\0) will be copied. The resulting string will always be null
terminated.
***/
+
/*
- RETURN_ALWAYS(ARGUMENT(s1));
+RETURN_ALWAYS(ARGUMENT(s1));
STDC(1)
*/