summaryrefslogtreecommitdiff
path: root/usr/src/man/man3proc
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/man/man3proc
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/man/man3proc')
-rw-r--r--usr/src/man/man3proc/Pclearsig.3proc4
-rw-r--r--usr/src/man/man3proc/Plwp_getregs.3proc10
-rw-r--r--usr/src/man/man3proc/Pstopstatus.3proc12
3 files changed, 14 insertions, 12 deletions
diff --git a/usr/src/man/man3proc/Pclearsig.3proc b/usr/src/man/man3proc/Pclearsig.3proc
index 23f81df918..116e23c391 100644
--- a/usr/src/man/man3proc/Pclearsig.3proc
+++ b/usr/src/man/man3proc/Pclearsig.3proc
@@ -11,7 +11,7 @@
.\"
.\" Copyright 2015 Joyent, Inc.
.\"
-.Dd May 11, 2016
+.Dd May 16, 2020
.Dt PCLEARSIG 3PROC
.Os
.Sh NAME
@@ -50,7 +50,7 @@ The
function is identical to the
.Fn Pclearsig
function, except rather than operating on the process and its
-representive thread, it instead operates on the thread handle
+representative thread, it instead operates on the thread handle
.Fa L .
.Pp
The
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