From marc@bowtie.nl  Tue Jan 26 07:05:11 1999
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 <FreeBSD-gnats-submit@freebsd.org>; 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
Subject: error in system.3
X-Send-Pr-Version: 3.2

>Number:         9701
>Category:       docs
>Synopsis:       Error in manual page for system(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 26 07:10:01 PST 1999
>Closed-Date:    Tue Jan 26 19:52:43 PST 1999
>Last-Modified:  Tue Jan 26 19:54:33 PST 1999
>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:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Tue Jan 26 19:52:43 PST 1999 
State-Changed-Why:  
Changed in rev 1.4 of "src/lib/libc/stdlib/system.3", thanks! 
>Unformatted:
