Print this page
11586 NAME field in man pages should match what's installed
*** 1,25 ****
PROC_GET_STATUS(3PROC) Process Control Library Functions
NAME
! proc_get_pstatus - get process status information
SYNOPSIS
Process Control Library (libproc, -lproc)
#include <libproc.h>
int
! proc_get_pstatus(pid_t pid, pstatus_t *psp);
DESCRIPTION
! The proc_get_pstatus() function is a convenient way to read the /proc
status file for the process pid. The status information of the process
will be filled into psp. The definition of the pstatus_t structure may
be found in proc(4).
RETURN VALUES
! Upon successful completion, the proc_get_pstatus() function returns 0.
Otherwise, -1 is returned to indicate an error occurred.
INTERFACE STABILITY
Uncommitted
--- 1,25 ----
PROC_GET_STATUS(3PROC) Process Control Library Functions
NAME
! proc_get_status - get process status information
SYNOPSIS
Process Control Library (libproc, -lproc)
#include <libproc.h>
int
! proc_get_status(pid_t pid, pstatus_t *psp);
DESCRIPTION
! The proc_get_status() function is a convenient way to read the /proc
status file for the process pid. The status information of the process
will be filled into psp. The definition of the pstatus_t structure may
be found in proc(4).
RETURN VALUES
! Upon successful completion, the proc_get_status() function returns 0.
Otherwise, -1 is returned to indicate an error occurred.
INTERFACE STABILITY
Uncommitted
*** 27,32 ****
MT-Safe
SEE ALSO
libproc(3LIB), proc(4)
! illumos May 11, 2016 illumos
--- 27,32 ----
MT-Safe
SEE ALSO
libproc(3LIB), proc(4)
! illumos August 20, 2019 illumos