Subject: lib/1710: error in system(3) man page
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 10/31/1995 20:02:25
>Number: 1710
>Category: lib
>Synopsis: error in system(3) man page
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 31 20:35:00 1995
>Last-Modified:
>Originator: John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release: NetBSD -current, 1995/10/30
>Environment:
System: NetBSD pattern 1.1_ALPHA NetBSD 1.1_ALPHA (PATTERN) #195: Sun Oct 22 13:31:09 EDT 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
system(3) cross references waitpid(3). It should reference
waitpid(2)
>How-To-Repeat:
read the fine manual.
>Fix:
*** system.3 1995/11/01 01:02:09 1.1
--- system.3 1995/11/01 01:02:16
***************
*** 72,78 ****
Otherwise,
.Fn system
returns the termination status of the shell in the format specified by
! .Xr waitpid 3 .
.Sh RETURN VALUES
If a child process cannot be created, or the termination status of
the shell cannot be obtained,
--- 72,78 ----
Otherwise,
.Fn system
returns the termination status of the shell in the format specified by
! .Xr waitpid 2 .
.Sh RETURN VALUES
If a child process cannot be created, or the termination status of
the shell cannot be obtained,
>Audit-Trail:
>Unformatted: