don't truncate lines, don't allow tabs to back up (I think this is tested!)
[unix-history] / usr / src / lib / libc / string / strcat.3
index c60379d..5bcdd3c 100644 (file)
@@ -6,7 +6,7 @@
 .\"
 .\" %sccs.include.redist.man%
 .\"
 .\"
 .\" %sccs.include.redist.man%
 .\"
-.\"    @(#)strcat.3    5.2 (Berkeley) %G%
+.\"    @(#)strcat.3    5.3 (Berkeley) %G%
 .\"
 .TH STRCAT 3 ""
 .UC 4
 .\"
 .TH STRCAT 3 ""
 .UC 4
@@ -26,23 +26,29 @@ strncat(char *s, const char *append, size_t count);
 .fi
 .SH DESCRIPTION
 .B Strcat
 .fi
 .SH DESCRIPTION
 .B Strcat
-appends a copy of the null-terminated string
+and
+.B strncat
+append a copy of the null-terminated string
 .I append
 to the end of the null-terminated string
 .IR s ,
 .I append
 to the end of the null-terminated string
 .IR s ,
-then adds a terminating '\e0'.
-.I S
+then add a terminating '\e0'.
+The string
+.I s
 must have sufficient space to hold the result.
 must have sufficient space to hold the result.
-.B Strcat
-returns the pointer
-.IR s .
 .PP
 .B Strncat
 appends at most
 .I count
 characters.
 .PP
 .B Strncat
 appends at most
 .I count
 characters.
+.PP
+.B Strcat
+and
+.B strncat
+return the pointer
+.IR s .
 .SH SEE ALSO
 .SH SEE ALSO
-strncat(3)
+bcopy(3), memccpy(3), memcpy(3), memmove(3), strcpy(3)
 .SH STANDARDS
 .B Strcat
 and
 .SH STANDARDS
 .B Strcat
 and