docs: Update manpages
Change include directory <procps/ -> <libproc2/ Change link instruction -lproc-2 -lproc2
This commit is contained in:
parent
b72eb5c9ea
commit
2c3635b687
@ -16,7 +16,7 @@
|
|||||||
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
.\" %%%LICENSE_END
|
.\" %%%LICENSE_END
|
||||||
.\"
|
.\"
|
||||||
.TH PROCPS 3 "July 2022" "libproc-2"
|
.TH PROCPS 3 "August 2022" "libproc2"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.nh
|
.nh
|
||||||
@ -30,7 +30,7 @@ the files they access in the /proc pseudo filesystem:
|
|||||||
|
|
||||||
.nf
|
.nf
|
||||||
.RS +4
|
.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_new \fR (struct info **" info );
|
||||||
.RI "int\fB procps_ref \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
|
The same \fBnamed_interface\fR is used in each header file name with
|
||||||
an appended `.h' suffix.
|
an appended `.h' suffix.
|
||||||
|
|
||||||
Link with \fI\-lproc-2\fP.
|
Link with \fI\-lproc2\fP.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.SS Overview
|
.SS Overview
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
.\" %%%LICENSE_END
|
.\" %%%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.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.nh
|
.nh
|
||||||
@ -25,7 +25,7 @@
|
|||||||
procps_misc \- API for miscellaneous information in the /proc filesystem
|
procps_misc \- API for miscellaneous information in the /proc filesystem
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <procps/misc.h>
|
.B #include <libproc2/misc.h>
|
||||||
.PP
|
.PP
|
||||||
Platform Particulars
|
Platform Particulars
|
||||||
.RS 4
|
.RS 4
|
||||||
@ -53,7 +53,7 @@ Namespace Particulars
|
|||||||
.RI "int \fB procps_ns_read_pid\fR (int " pid ", struct procps_ns *" nsp ");"
|
.RI "int \fB procps_ns_read_pid\fR (int " pid ", struct procps_ns *" nsp ");"
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Link with \fI\-lproc-2\fP.
|
Link with \fI\-lproc2\fP.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR procps_cpu_count ()
|
.BR procps_cpu_count ()
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
.\" %%%LICENSE_END
|
.\" %%%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.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.nh
|
.nh
|
||||||
@ -25,7 +25,7 @@ procps_pids \- API to access process information in the /proc filesystem
|
|||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.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_new \fR (struct pids_info **" info ", enum pids_item *" items ", int " numitems );
|
||||||
.RI "int\fB procps_pids_ref \fR (struct pids_info *" info );
|
.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
|
.fi
|
||||||
|
|
||||||
Link with \fI\-lproc-2\fP.
|
Link with \fI\-lproc2\fP.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.SS Overview
|
.SS Overview
|
||||||
|
Loading…
Reference in New Issue
Block a user