From owner-freebsd-doc Mon Jul 16 3:50: 5 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DD87737B405 for ; Mon, 16 Jul 2001 03:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6GAo0r59090; Mon, 16 Jul 2001 03:50:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A7AFE37B406 for ; Mon, 16 Jul 2001 03:43:32 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6GAhWL58674; Mon, 16 Jul 2001 03:43:32 -0700 (PDT) (envelope-from nobody) Message-Id: <200107161043.f6GAhWL58674@freefall.freebsd.org> Date: Mon, 16 Jul 2001 03:43:32 -0700 (PDT) From: Joseph Mallett To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: docs/29002: strcpy manpage incorrectly states both strcpy and strncpy put in \0 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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