Project

General

Profile

Bug #12666

libproc manpage bugs

Added by Hans Rosenfeld 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Pstopstatus(3PROC) documents Pstop(), Pwait(), Lstop(), and Lwait() to take no timeout argument, always using an implicit timeout of 0. But the code really expects a 2nd argument for the timeout.

Plwp_getregs(3PROC) uses the wrong type for the gregs argument for Plwp_getregs() and Plwp_setregs. It expects "prgregset_t gregs", not "prpregset_t *gregs".

#1

Updated by Robert Mustacchi 12 months ago

  • Assignee set to Robert Mustacchi
#2

Updated by Electric Monk 11 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 282d4a2d330d797757f16d55e1df9569f3e52d10

commit  282d4a2d330d797757f16d55e1df9569f3e52d10
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2020-05-05T03:17:55.000Z

    12666 libproc manpage bugs
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Yuri Pankov <ypankov@fastmail.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Also available in: Atom PDF