docs: Update manpages

Change include directory <procps/ -> <libproc2/
Change link instruction -lproc-2 -lproc2
This commit is contained in:
Craig Small 2022-08-29 20:56:43 +10:00
parent b72eb5c9ea
commit 2c3635b687
3 changed files with 9 additions and 9 deletions

View File

@ -16,7 +16,7 @@
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\" %%%LICENSE_END
.\"
.TH PROCPS 3 "July 2022" "libproc-2"
.TH PROCPS 3 "August 2022" "libproc2"
.\" Please adjust this date whenever revising the manpage.
.\"
.nh
@ -30,7 +30,7 @@ the files they access in the /proc pseudo filesystem:
.nf
.RS +4
#include <procps/\fBnamed_interface\fR.h>
#include <libproc2/\fBnamed_interface\fR.h>
.RI "int\fB procps_new \fR (struct info **" info );
.RI "int\fB procps_ref \fR (struct info *" info );
@ -70,7 +70,7 @@ and `info' would really be `\fBdiskstats\fR_info', etc.
The same \fBnamed_interface\fR is used in each header file name with
an appended `.h' suffix.
Link with \fI\-lproc-2\fP.
Link with \fI\-lproc2\fP.
.SH DESCRIPTION
.SS Overview

View File

@ -17,7 +17,7 @@
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\" %%%LICENSE_END
.\"
.TH PROCPS_MISC 3 "July 2022" "libproc-2"
.TH PROCPS_MISC 3 "August 2022" "libproc2"
.\" Please adjust this date whenever revising the manpage.
.\"
.nh
@ -25,7 +25,7 @@
procps_misc \- API for miscellaneous information in the /proc filesystem
.SH SYNOPSIS
.nf
.B #include <procps/misc.h>
.B #include <libproc2/misc.h>
.PP
Platform Particulars
.RS 4
@ -53,7 +53,7 @@ Namespace Particulars
.RI "int \fB procps_ns_read_pid\fR (int " pid ", struct procps_ns *" nsp ");"
.RE
Link with \fI\-lproc-2\fP.
Link with \fI\-lproc2\fP.
.SH DESCRIPTION
.BR procps_cpu_count ()

View File

@ -16,7 +16,7 @@
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\" %%%LICENSE_END
.\"
.TH PROCPS_PIDS 3 "July 2022" "libproc-2"
.TH PROCPS_PIDS 3 "August 2022" "libproc2"
.\" Please adjust this date whenever revising the manpage.
.\"
.nh
@ -25,7 +25,7 @@ procps_pids \- API to access process information in the /proc filesystem
.SH SYNOPSIS
.nf
#include <procps/pids.h>
#include <libproc2/pids.h>
.RI "int\fB procps_pids_new \fR (struct pids_info **" info ", enum pids_item *" items ", int " numitems );
.RI "int\fB procps_pids_ref \fR (struct pids_info *" info );
@ -64,7 +64,7 @@ procps_pids \- API to access process information in the /proc filesystem
.fi
Link with \fI\-lproc-2\fP.
Link with \fI\-lproc2\fP.
.SH DESCRIPTION
.SS Overview