Op 26-05-16 om 23:24 schreef Tim Kuijsten:
rename s to dst, just like in strncat, strcpy and strncpy.


Index: strcat.3
===================================================================
RCS file: /cvs/src/lib/libc/string/strcat.3,v
retrieving revision 1.17
diff -u -p -r1.17 strcat.3
--- strcat.3    19 Apr 2014 11:30:40 -0000      1.17
+++ strcat.3    26 May 2016 21:22:02 -0000
@@ -40,14 +40,14 @@
 .Sh SYNOPSIS
 .In string.h
 .Ft char *
-.Fn strcat "char *s" "const char *append"
+.Fn strcat "char *dst" "const char *append"
 .Sh DESCRIPTION
 The
 .Fn strcat
 function appends a copy of the NUL-terminated string
 .Fa append
 to the end of the NUL-terminated string
-.Fa s ,
+.Fa dst ,
 then adds a terminating
 .Ql \e0 .
 .Pp
@@ -60,7 +60,7 @@ subsequent memory will be damaged.
 The
 .Fn strcat
 function return the pointer
-.Fa s .
+.Fa dst .
 .Sh SEE ALSO
 .Xr strlcpy 3 ,
 .Xr wcscat 3 ,


ps. it should be noted that "dst" is already used in "If the buffer dst is not large enough to hold the result, ..." while the rest of the manpage uses s.

Reply via email to