Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2008 15:29:08 GMT
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/122818: system.2 missing ".Sh RETURN VALUES"
Message-ID:  <200804161529.m3GFT8jC021647@www.freebsd.org>
Resent-Message-ID: <200804161530.m3GFU1bh084044@freefall.freebsd.org>

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

>Number:         122818
>Category:       docs
>Synopsis:       system.2 missing ".Sh RETURN VALUES"
>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:   Wed Apr 16 15:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiro Ota
>Release:        CvsWeb/8.0-CURRENT
>Organization:
>Environment:
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/system.3?rev=1.12
>Description:
"man 2 system" does not show RETURN VALUES section although it describes about retuen values.
>How-To-Repeat:
man 2 system
>Fix:
Delete ".Pp" and add ".Sh RETURN VALUES" before the following in src/lib/libc/stdlib/system.3


The
.Fn system
function
returns the exit status of the shell as returned by
.Xr waitpid 2 ,
or \-1 if an error occurred when invoking
.Xr fork 2
or
.Xr waitpid 2 .


>Release-Note:
>Audit-Trail:
>Unformatted:



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