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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3proc/proc_get_status.3proc
          +++ new/usr/src/man/man3proc/proc_get_status.3proc
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  .\" You may only use this file in accordance with the terms of version
   5    5  .\" 1.0 of the CDDL.
   6    6  .\"
   7    7  .\" A full copy of the text of the CDDL should have accompanied this
   8    8  .\" source.  A copy of the CDDL is also available via the Internet at
   9    9  .\" http://www.illumos.org/license/CDDL.
  10   10  .\"
  11   11  .\"
  12   12  .\" Copyright 2015 Joyent, Inc.
  13   13  .\"
  14      -.Dd May 11, 2016
       14 +.Dd Aug 20, 2019
  15   15  .Dt PROC_GET_STATUS 3PROC
  16   16  .Os
  17   17  .Sh NAME
  18      -.Nm proc_get_pstatus
       18 +.Nm proc_get_status
  19   19  .Nd get process status information
  20   20  .Sh SYNOPSIS
  21   21  .Lb libproc
  22   22  .In libproc.h
  23   23  .Ft int
  24      -.Fo proc_get_pstatus
       24 +.Fo proc_get_status
  25   25  .Fa "pid_t pid"
  26   26  .Fa "pstatus_t *psp"
  27   27  .Fc
  28   28  .Sh DESCRIPTION
  29   29  The
  30      -.Fn proc_get_pstatus
       30 +.Fn proc_get_status
  31   31  function is a convenient way to read the /proc status file for the
  32   32  process
  33   33  .Fa pid .
  34   34  The status information of the process will be filled into
  35   35  .Fa psp .
  36   36  The definition of the
  37   37  .Sy pstatus_t
  38   38  structure may be found in
  39   39  .Xr proc 4 .
  40   40  .Sh RETURN VALUES
  41   41  Upon successful completion, the
  42      -.Fn proc_get_pstatus
       42 +.Fn proc_get_status
  43   43  function returns
  44   44  .Sy 0 .
  45   45  Otherwise,
  46   46  .Sy -1
  47   47  is returned to indicate an error occurred.
  48   48  .Sh INTERFACE STABILITY
  49   49  .Sy Uncommitted
  50   50  .Sh MT-LEVEL
  51   51  .Sy MT-Safe
  52   52  .Sh SEE ALSO
  53   53  .Xr libproc 3LIB ,
  54   54  .Xr proc 4
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX