Date: Mon, 16 Jul 2001 03:43:32 -0700 (PDT) From: Joseph Mallett <jmallett@xMach.org> To: freebsd-gnats-submit@freebsd.org Subject: docs/29002: strcpy manpage incorrectly states both strcpy and strncpy put in \0 Message-ID: <200107161043.f6GAhWL58674@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 29002 >Category: docs >Synopsis: strcpy manpage incorrectly states both strcpy and strncpy put in \0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 16 03:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Joseph Mallett >Release: 4.3-STABLE >Organization: xMach >Environment: FreeBSD Aphex.NewGold.NET 4.3-STABLE FreeBSD 4.3-STABLE #0: Sun Jul 8 14:41:11 GMT 2001 root@Aphex.NewGold.NET:/usr/src/sys/compile/APHEX i386 >Description: the first sentance of strcpy(3) manpage states that both strncpy and strcpy in fact do what only strcpy does. It seems to me this is just a typo, as the second sentance is clearly structured the same, and therefore is probably what is meant to be the description. >How-To-Repeat: man 3 strcpy >Fix: --- strcpy.orig Mon Jul 16 10:38:16 2001 +++ strcpy.3 Mon Jul 16 10:39:20 2001 @@ -53,10 +53,8 @@ .Sh DESCRIPTION The .Fn strcpy -and -.Fn strncpy -functions -copy the string +function +copies the string .Fa src to .Fa dst >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107161043.f6GAhWL58674>