summaryrefslogtreecommitdiff
path: root/usr/src/man/man3proc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3proc')
-rw-r--r--usr/src/man/man3proc/proc_service.3proc65
-rw-r--r--usr/src/man/man3proc/ps_lgetregs.3proc21
-rw-r--r--usr/src/man/man3proc/ps_pglobal_lookup.3proc21
-rw-r--r--usr/src/man/man3proc/ps_pread.3proc19
-rw-r--r--usr/src/man/man3proc/ps_pstop.3proc21
5 files changed, 33 insertions, 114 deletions
diff --git a/usr/src/man/man3proc/proc_service.3proc b/usr/src/man/man3proc/proc_service.3proc
index f34a70c56d..a088af2b9d 100644
--- a/usr/src/man/man3proc/proc_service.3proc
+++ b/usr/src/man/man3proc/proc_service.3proc
@@ -3,13 +3,13 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH proc_service 3PROC "12 Oct 2007" "SunOS 5.11" "Process Control Library Functions"
+.TH PROC_SERVICE 3PROC "Oct 12, 2007"
.SH NAME
proc_service \- process service interfaces
.SH SYNOPSIS
.LP
.nf
-#include <proc_service.h>
+#include <proc_service.h>
\fBps_err_e\fR \fBps_pdmodel\fR(\fBstruct ps_prochandle *\fR\fIph\fR,
\fBint *\fR\fIdata_model\fR);
@@ -175,280 +175,230 @@ a functional specification that clients of \fBlibthread_db\fR and
.SH FUNCTIONS
.sp
.ne 2
-.mk
.na
\fB\fBps_pdmodel()\fR\fR
.ad
.RS 23n
-.rt
Returns the data model of the target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pglobal_lookup()\fR\fR
.ad
.RS 23n
-.rt
Looks up the symbol in the symbol table of the load object in the target
process and returns its address.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pglobal_sym()\fR\fR
.ad
.RS 23n
-.rt
Looks up the symbol in the symbol table of the load object in the target
process and returns its symbol table entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pread()\fR\fR
.ad
.RS 23n
-.rt
Copies \fIsize\fR bytes from the target process to the controlling process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pwrite()\fR\fR
.ad
.RS 23n
-.rt
Copies \fIsize\fR bytes from the controlling process to the target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pdread()\fR\fR
.ad
.RS 23n
-.rt
Identical to \fBps_pread()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pdwrite()\fR\fR
.ad
.RS 23n
-.rt
Identical to \fBps_pwrite()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_ptread()\fR\fR
.ad
.RS 23n
-.rt
Identical to \fBps_pread()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_ptwrite()\fR\fR
.ad
.RS 23n
-.rt
Identical to \fBps_pwrite()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pstop()\fR\fR
.ad
.RS 23n
-.rt
Stops the target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pcontinue()\fR\fR
.ad
.RS 23n
-.rt
Resumes target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lstop()\fR\fR
.ad
.RS 23n
-.rt
Stops a single lightweight process ( \fBLWP\fR ) within the target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lcontinue()\fR\fR
.ad
.RS 23n
-.rt
Resumes a single \fBLWP\fR within the target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lgetregs()\fR\fR
.ad
.RS 23n
-.rt
Gets the general registers of the \fBLWP\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lsetregs()\fR\fR
.ad
.RS 23n
-.rt
Sets the general registers of the \fBLWP\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lgetfpregs()\fR\fR
.ad
.RS 23n
-.rt
Gets the \fBLWP`s\fR floating point register set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lsetfpregs()\fR\fR
.ad
.RS 23n
-.rt
Sets the \fBLWP`s\fR floating point register set.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_pauxv()\fR\fR
.ad
.RS 23n
-.rt
Returns a pointer to a read-only copy of the target process's auxiliary vector.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_kill()\fR\fR
.ad
.RS 23n
-.rt
Sends signal to target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lrolltoaddr()\fR\fR
.ad
.RS 23n
-.rt
Rolls the \fBLWP\fR out of a critical section when the process is stopped.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_plog()\fR\fR
.ad
.RS 23n
-.rt
Logs a message.
.RE
.SS "SPARC"
.sp
.ne 2
-.mk
.na
\fB\fBps_lgetxregsize()\fR\fR
.ad
.RS 21n
-.rt
Returns the size of the architecture-dependent extra state registers.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lgetxregs()\fR\fR
.ad
.RS 21n
-.rt
Gets the extra state registers of the \fBLWP\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBps_lsetxregs()\fR\fR
.ad
.RS 21n
-.rt
Sets the extra state registers of the \fBLWP\fR.
.RE
.SS "x86"
.sp
.ne 2
-.mk
.na
\fB\fBps_lgetLDT()\fR\fR
.ad
.RS 16n
-.rt
Reads the local descriptor table of the \fBLWP\fR.
.RE
@@ -460,13 +410,12 @@ See \fBattributes\fR(5) for description of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3proc/ps_lgetregs.3proc b/usr/src/man/man3proc/ps_lgetregs.3proc
index d0ea42ec39..6f80838005 100644
--- a/usr/src/man/man3proc/ps_lgetregs.3proc
+++ b/usr/src/man/man3proc/ps_lgetregs.3proc
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ps_lgetregs 3PROC "30 Jan 1998" "SunOS 5.11" "Process Control Library Functions"
+.TH PS_LGETREGS 3PROC "Jan 30, 1998"
.SH NAME
ps_lgetregs, ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs, ps_lgetxregsize,
ps_lgetxregs, ps_lsetxregs \- routines that access the target process register
@@ -75,46 +75,38 @@ registers. \fBps_lgetxregs()\fR gets the extra state registers, and
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBPS_OK\fR \fR
.ad
.RS 16n
-.rt
The call returned successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_NOFPREGS\fR \fR
.ad
.RS 16n
-.rt
Floating point registers are neither available for this architecture nor for
this process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_NOXREGS\fR \fR
.ad
.RS 16n
-.rt
Extra state registers are not available on this architecture.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_ERR\fR \fR
.ad
.RS 16n
-.rt
The function did not return successfully.
.RE
@@ -126,13 +118,12 @@ See \fBattributes\fR(5) for description of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3proc/ps_pglobal_lookup.3proc b/usr/src/man/man3proc/ps_pglobal_lookup.3proc
index ecd9a9bdc4..8175869cb2 100644
--- a/usr/src/man/man3proc/ps_pglobal_lookup.3proc
+++ b/usr/src/man/man3proc/ps_pglobal_lookup.3proc
@@ -3,14 +3,14 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ps_pglobal_lookup 3PROC "16 Jan 1998" "SunOS 5.11" "Process Control Library Functions"
+.TH PS_PGLOBAL_LOOKUP 3PROC "Jan 16, 1998"
.SH NAME
ps_pglobal_lookup, ps_pglobal_sym \- look up a symbol in the symbol table of
the load object in the target process
.SH SYNOPSIS
.LP
.nf
-#include <proc_service.h>
+#include <proc_service.h>
\fBps_err_e\fR \fBps_pglobal_lookup\fR(\fBstruct ps_prochandle *\fR\fIph\fR,
\fBconst char *\fR\fIobject_name\fR, \fBconst char *\fR\fIsym_name\fR,
@@ -41,34 +41,28 @@ process.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBPS_OK\fR \fR
.ad
.RS 13n
-.rt
The call completed successfully.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_NOSYM\fR \fR
.ad
.RS 13n
-.rt
The specified symbol was not found.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_ERR\fR \fR
.ad
.RS 13n
-.rt
The function did not return successfully.
.RE
@@ -80,13 +74,12 @@ See \fBattributes\fR(5) for description of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3proc/ps_pread.3proc b/usr/src/man/man3proc/ps_pread.3proc
index 80d39b3d3b..7769fadb25 100644
--- a/usr/src/man/man3proc/ps_pread.3proc
+++ b/usr/src/man/man3proc/ps_pread.3proc
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ps_pread 3PROC "12 Oct 2007" "SunOS 5.11" "Process Control Library Functions"
+.TH PS_PREAD 3PROC "Oct 12, 2007"
.SH NAME
ps_pread, ps_pwrite, ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite \- interfaces
in libthread_db that target process memory access
@@ -65,23 +65,19 @@ maintained.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBPS_OK\fR\fR
.ad
.RS 14n
-.rt
The call returned successfully. \fIsize\fR bytes were copied.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_BADADDR\fR\fR
.ad
.RS 14n
-.rt
Some part of the address range from \fIaddr\fR through
\fIaddr\fR+\fIsize\fR\(mi\fB1\fR is not part of the target process's address
space.
@@ -89,12 +85,10 @@ space.
.sp
.ne 2
-.mk
.na
\fB\fBPS_ERR\fR\fR
.ad
.RS 14n
-.rt
The function did not return successfully.
.RE
@@ -106,13 +100,12 @@ See \fBattributes\fR(5) for description of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3proc/ps_pstop.3proc b/usr/src/man/man3proc/ps_pstop.3proc
index 5c49bd0d35..4769e072a9 100644
--- a/usr/src/man/man3proc/ps_pstop.3proc
+++ b/usr/src/man/man3proc/ps_pstop.3proc
@@ -3,14 +3,14 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH ps_pstop 3PROC "22 Mar 2001" "SunOS 5.11" "Process Control Library Functions"
+.TH PS_PSTOP 3PROC "Mar 22, 2001"
.SH NAME
ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lrolltoaddr, ps_kill \-
process and LWP control in libthread_db
.SH SYNOPSIS
.LP
.nf
-#include <proc_service.h>
+#include <proc_service.h>
\fBps_err_e\fR \fBps_pstop\fR(\fBstruct ps_prochandle *\fR\fIph\fR);
.fi
@@ -85,36 +85,30 @@ process for which the handle is \fIph\fR. It has the same semantics as
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fB\fBPS_OK\fR \fR
.ad
.RS 14n
-.rt
The call completed successfully. In the case of \fBps_pstop()\fR, the target
process is stopped.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_BADLID\fR \fR
.ad
.RS 14n
-.rt
For \fBps_lstop()\fR, \fBps_lcontinue()\fR and \fBps_lrolltoaddr()\fR; there is
no \fBLWP\fR with id \fIlwipd\fR in the target process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBPS_ERR\fR \fR
.ad
.RS 14n
-.rt
The function did not return successfully.
.RE
@@ -126,13 +120,12 @@ See \fBattributes\fR(5) for description of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT LevelSafe
+MT Level Safe
.TE
.SH SEE ALSO