summaryrefslogtreecommitdiff
path: root/usr/src/man/man3proc/Psetrun.3proc
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2017-05-29 03:56:19 +0300
committerGordon Ross <gwr@nexenta.com>2017-06-07 11:12:34 -0400
commit72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2 (patch)
treeb1e1409d1dc0ac3c433224c0cde7c97d01e98d5c /usr/src/man/man3proc/Psetrun.3proc
parentcb4d790db8fe85bce9f9647fe4e1bdc274c7af1c (diff)
downloadillumos-joyent-72d3dbb9ab4481606cb93caca98ba3b3a8eb6ce2.tar.gz
8300 fix man page issues found by mandoc 1.14.1
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/man/man3proc/Psetrun.3proc')
-rw-r--r--usr/src/man/man3proc/Psetrun.3proc32
1 files changed, 18 insertions, 14 deletions
diff --git a/usr/src/man/man3proc/Psetrun.3proc b/usr/src/man/man3proc/Psetrun.3proc
index 6a063d6dd9..68b6f92ebd 100644
--- a/usr/src/man/man3proc/Psetrun.3proc
+++ b/usr/src/man/man3proc/Psetrun.3proc
@@ -43,14 +43,15 @@ If
.Fa sig
is non-zero, then the
.Fn Psetrun
-function causes the signal to be delivered. See
+function causes the signal to be delivered.
+See
.Xr signal.h 3HEAD
for a list of valid signal identifiers.
.Pp
The
.Fa flags
-member modifies the behavior of the resumed handle. The following values
-may be combined by a bitwise-inclusive-OR:
+member modifies the behavior of the resumed handle.
+The following values may be combined by a bitwise-inclusive-OR:
.Bl -tag -width Dv -offset indent
.It Dv PRCSIG
Clears the current signal, if any.
@@ -58,17 +59,18 @@ Clears the current signal, if any.
Clears the current fault, if any.
.It Dv PRSTEP
Indicates that the thread should single-step over the next machine
-instruction and upon completion, inject a trap. For the specific
-mechanics of single-stepping and what traps or signals will be injected,
-see the
+instruction and upon completion, inject a trap.
+For the specific mechanics of single-stepping and what traps or signals will be
+injected, see the
.Sy PRSTEP
section of
.Xr proc 4 .
.It Dv PRSABORT
Indicates that the thread should abort the system call that it is
-currently executing. This is only valid if the thread is stopped because
-it is asleep or right before a system call. This will cause the system
-call to return
+currently executing.
+This is only valid if the thread is stopped because it is asleep or right before
+a system call.
+This will cause the system call to return
.Er EINTR .
.El
.Pp
@@ -85,16 +87,17 @@ was passed the argument
.Sy 0 .
.Pp
When the process is resumed all extent tracing flags and register
-changes will be synchronized with the process. For more information on
-resuming a thread see the
+changes will be synchronized with the process.
+For more information on resuming a thread see the
.Sy PCRUN
section in
.Xr proc 4 .
.Pp
Note, the
.Fn Psetrun
-function is only valid for active processes. It will fail on process
-handles that refer to core files, zombie processes, and ELF objects.
+function is only valid for active processes.
+It will fail on process handles that refer to core files, zombie processes, and
+ELF objects.
.Pp
The
.Fn Lsetrun
@@ -105,7 +108,8 @@ thread.
.Fn Lsetrun
causes the specified thread,
.Fa L ,
-to resume execution. Whereas
+to resume execution.
+Whereas
.Fn Psetrun
causes all threads in the process to resume.
.Sh RETURN VALUES