From owner-freebsd-doc Tue Jan 26 07:10:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA15639 for freebsd-doc-outgoing; Tue, 26 Jan 1999 07:10:06 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA15571 for ; Tue, 26 Jan 1999 07:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id HAA96274; Tue, 26 Jan 1999 07:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from news.IAEhv.nl (news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA15191 for ; Tue, 26 Jan 1999 07:05:10 -0800 (PST) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id QAA04556 for FreeBSD-gnats-submit@freebsd.org; Tue, 26 Jan 1999 16:05:07 +0100 (MET) Received: (from marc@localhost) by bowtie.nl (8.8.8/8.8.8) id QAA18733; Tue, 26 Jan 1999 16:02:33 +0100 (CET) (envelope-from marc) Message-Id: <199901261502.QAA18733@bowtie.nl> Date: Tue, 26 Jan 1999 16:02:33 +0100 (CET) From: marc@bowtie.nl Reply-To: marc@bowtie.nl To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/9701: error in system.3 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9701 >Category: docs >Synopsis: Error in manual page for system(3) >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 26 07:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Marc van Kempen >Release: FreeBSD 2.2.6-RELEASE i386 >Organization: >Environment: >Description: 'man 3 system' fails to describe that the exit status for the system call is in the format specified by waitpid(2). >How-To-Repeat: >Fix: Replace the third paragraph of the DESCRIPTION with the following one: The system() function returns the exit status of the shell in the format specified by waitpid(2), or -1 if the wait(2) for the shell failed. A return value of 127 means the execution of the shell failed. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message