docs/122818: system.2 missing ".Sh RETURN VALUES"

Yoshihiro Ota ota at j.email.ne.jp
Wed Apr 16 15:30:01 UTC 2008


>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:



More information about the freebsd-doc mailing list