Print this page
11586 NAME field in man pages should match what's installed

*** 9,35 **** .\" http://www.illumos.org/license/CDDL. .\" .\" .\" Copyright 2015 Joyent, Inc. .\" ! .Dd May 11, 2016 .Dt PROC_GET_STATUS 3PROC .Os .Sh NAME ! .Nm proc_get_pstatus .Nd get process status information .Sh SYNOPSIS .Lb libproc .In libproc.h .Ft int ! .Fo proc_get_pstatus .Fa "pid_t pid" .Fa "pstatus_t *psp" .Fc .Sh DESCRIPTION The ! .Fn proc_get_pstatus 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 . --- 9,35 ---- .\" http://www.illumos.org/license/CDDL. .\" .\" .\" Copyright 2015 Joyent, Inc. .\" ! .Dd Aug 20, 2019 .Dt PROC_GET_STATUS 3PROC .Os .Sh NAME ! .Nm proc_get_status .Nd get process status information .Sh SYNOPSIS .Lb libproc .In libproc.h .Ft int ! .Fo proc_get_status .Fa "pid_t pid" .Fa "pstatus_t *psp" .Fc .Sh DESCRIPTION The ! .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,47 **** .Sy pstatus_t structure may be found in .Xr proc 4 . .Sh RETURN VALUES Upon successful completion, the ! .Fn proc_get_pstatus function returns .Sy 0 . Otherwise, .Sy -1 is returned to indicate an error occurred. --- 37,47 ---- .Sy pstatus_t structure may be found in .Xr proc 4 . .Sh RETURN VALUES Upon successful completion, the ! .Fn proc_get_status function returns .Sy 0 . Otherwise, .Sy -1 is returned to indicate an error occurred.