Loading...
string/strlcpy.3 Libc-583 Libc-262
--- Libc/Libc-583/string/strlcpy.3
+++ Libc/Libc-262/string/strlcpy.3
@@ -25,7 +25,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/string/strlcpy.3,v 1.13 2004/07/02 23:52:13 ru Exp $
+.\" $FreeBSD: src/lib/libc/string/strlcpy.3,v 1.11 2001/10/01 16:09:00 ru Exp $
 .\"
 .Dd June 22, 1998
 .Dt STRLCPY 3
@@ -47,8 +47,7 @@
 .Fn strlcpy
 and
 .Fn strlcat
-functions copy and concatenate strings respectively.
-They are designed
+functions copy and concatenate strings respectively.  They are designed
 to be safer, more consistent, and less error prone replacements for
 .Xr strncpy 3
 and
@@ -103,17 +102,13 @@
 It will append at most
 .Fa size
 - strlen(dst) - 1 bytes, NUL-terminating the result.
-.Pp
-The source and destination strings should not overlap, as the
-behavior is undefined.
 .Sh RETURN VALUES
 The
 .Fn strlcpy
 and
 .Fn strlcat
 functions return the total length of the string they tried to
-create.
-For
+create.  For
 .Fn strlcpy
 that means the length of
 .Fa src .
@@ -197,7 +192,6 @@
 .Xr strncat 3 ,
 .Xr strncpy 3
 .Sh HISTORY
-The
 .Fn strlcpy
 and
 .Fn strlcat