1 --- strcat.3.orig 2010-06-17 08:44:44.000000000 -0700
2 +++ strcat.3 2010-06-17 08:46:22.000000000 -0700
7 -.Fn strcat "char * restrict s" "const char * restrict append"
9 +.Fa "char *restrict s1"
10 +.Fa "const char *restrict s2"
13 -.Fn strncat "char * restrict s" "const char * restrict append" "size_t count"
15 +.Fa "char *restrict s1"
16 +.Fa "const char *restrict s2"
22 @@ -54,24 +61,27 @@ and
25 append a copy of the null-terminated string
28 to the end of the null-terminated string
31 then add a terminating
36 must have sufficient space to hold the result.
47 and then adds a terminating
50 +The source and destination strings should not overlap, as the
51 +behavior is undefined.
61 .Sh SECURITY CONSIDERATIONS
64 @@ -111,7 +121,7 @@ Example:
66 foo(const char *arbitrary_string)
69 + char onstack[8] = "";