Print this page
11586 NAME field in man pages should match what's installed
@@ -9,27 +9,27 @@
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
.\" Copyright 2015 Joyent, Inc.
.\"
-.Dd May 11, 2016
+.Dd Aug 20, 2019
.Dt PROC_GET_STATUS 3PROC
.Os
.Sh NAME
-.Nm proc_get_pstatus
+.Nm proc_get_status
.Nd get process status information
.Sh SYNOPSIS
.Lb libproc
.In libproc.h
.Ft int
-.Fo proc_get_pstatus
+.Fo proc_get_status
.Fa "pid_t pid"
.Fa "pstatus_t *psp"
.Fc
.Sh DESCRIPTION
The
-.Fn proc_get_pstatus
+.Fn proc_get_status
function is a convenient way to read the /proc status file for the
process
.Fa pid .
The status information of the process will be filled into
.Fa psp .
@@ -37,11 +37,11 @@
.Sy pstatus_t
structure may be found in
.Xr proc 4 .
.Sh RETURN VALUES
Upon successful completion, the
-.Fn proc_get_pstatus
+.Fn proc_get_status
function returns
.Sy 0 .
Otherwise,
.Sy -1
is returned to indicate an error occurred.