summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/man/man3proc/Plwp_getregs.3proc10
-rw-r--r--usr/src/man/man3proc/Pstopstatus.3proc12
2 files changed, 12 insertions, 10 deletions
diff --git a/usr/src/man/man3proc/Plwp_getregs.3proc b/usr/src/man/man3proc/Plwp_getregs.3proc
index e11f4f5fa2..7b7d3b4d3d 100644
--- a/usr/src/man/man3proc/Plwp_getregs.3proc
+++ b/usr/src/man/man3proc/Plwp_getregs.3proc
@@ -11,7 +11,7 @@
.\"
.\" Copyright 2015 Joyent, Inc.
.\"
-.Dd May 11, 2016
+.Dd May 02, 2020
.Dt PLWP_GETREGS 3PROC
.Os
.Sh NAME
@@ -40,13 +40,13 @@
.Fo Plwp_getregs
.Fa "struct ps_prochandle *P"
.Fa "lwpid_t lwpid"
-.Fa "prpregset_t *gregs"
+.Fa "prgregset_t gregs"
.Fc
.Ft int
.Fo Plwp_setregs
.Fa "struct ps_prochandle *P"
.Fa "lwpid_t lwpid"
-.Fa "const prpregset_t gregs"
+.Fa "const prgregset_t gregs"
.Fc
.Sh DESCRIPTION
The
@@ -98,8 +98,8 @@ Processes may be stopped with
.Xr Pstop 3PROC .
The structures used for registers are described in
.Xr proc 4
-and their defintions may be found in
-.In sys/regset.h .
+and their definitions may be found in
+.In procfs.h .
The definitions of these structures varies based on the architecture of
the system and the running process.
.Pp
diff --git a/usr/src/man/man3proc/Pstopstatus.3proc b/usr/src/man/man3proc/Pstopstatus.3proc
index 15f9f417f6..07a500c8a7 100644
--- a/usr/src/man/man3proc/Pstopstatus.3proc
+++ b/usr/src/man/man3proc/Pstopstatus.3proc
@@ -11,7 +11,7 @@
.\"
.\" Copyright 2015 Joyent, Inc.
.\"
-.Dd May 11, 2016
+.Dd May 02, 2020
.Dt PSTOPSTATUS 3PROC
.Os
.Sh NAME
@@ -40,10 +40,12 @@
.Ft int
.Fo Pstop
.Fa "struct ps_prochandle *P"
+.Fa "uint_t msec"
.Fc
.Ft int
.Fo Pwait
.Fa "struct ps_prochandle *P"
+.Fa "uint_t msec"
.Fc
.Ft int
.Fo Ldstop
@@ -52,10 +54,12 @@
.Ft int
.Fo Lstop
.Fa "struct ps_lwphandle *L"
+.Fa "uint_t msec"
.Fc
.Ft int
.Fo Lwait
.Fa "struct ps_lwphandle *L"
+.Fa "uint_t msec"
.Fc
.Sh DESCRIPTION
The
@@ -133,16 +137,14 @@ The
function is is equivalent to calling the
.Fn Pstopstatus
function with the request set to
-.Dv PCSTOP
-and an infinite timeout.
+.Dv PCSTOP .
.Pp
The
.Fn Pwait
function is is equivalent to calling the
.Fn Pstopstatus
function with the request set to
-.Dv PCWSTOP
-and an infinite timeout.
+.Dv PCWSTOP .
.Pp
The
.Fn Pdstop