Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 1999 16:02:33 +0100 (CET)
From:      marc@bowtie.nl
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/9701: error in system.3
Message-ID:  <199901261502.QAA18733@bowtie.nl>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901261502.QAA18733>