diff options
author | Robert Mustacchi <rm@fingolfin.org> | 2020-05-22 23:01:04 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@fingolfin.org> | 2020-05-26 14:04:53 -0700 |
commit | 95adbecaacb2fe97eb8c9e49e7c1d6910c577bba (patch) | |
tree | 1822215eaf2126147a9e8ccacad64a9b67c48d62 | |
parent | 6bc3974f378feda6e0d0b8f2a7ca95eceb9587db (diff) | |
download | illumos-joyent-95adbecaacb2fe97eb8c9e49e7c1d6910c577bba.tar.gz |
11902 Typos in proc_arg_grab(3PROC)
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/man/man3proc/proc_arg_grab.3proc | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/usr/src/man/man3proc/proc_arg_grab.3proc b/usr/src/man/man3proc/proc_arg_grab.3proc index 375ba4d67e..9bba2d5981 100644 --- a/usr/src/man/man3proc/proc_arg_grab.3proc +++ b/usr/src/man/man3proc/proc_arg_grab.3proc @@ -11,18 +11,18 @@ .\" .\" Copyright 2015 Joyent, Inc. .\" -.Dd May 11, 2016 +.Dd May 22, 2020 .Dt PROC_ARG_GRAB 3PROC .Os .Sh NAME .Nm proc_arg_grab , -.Nm proc_arg_xrgab +.Nm proc_arg_xgrab .Nd process grabbing utility function .Sh SYNOPSIS .Lb libproc .In libproc.h .Ft "struct ps_prochandle" -.Fo proc_arg_grag +.Fo proc_arg_grab .Fa "const char *arg" .Fa "int oflag" .Fa "int gflag" @@ -63,7 +63,7 @@ Allows .Fa arg to specify core files. .It PR_ARG_ANY -Encompasses all of the previous opens. +Encompasses all of the previous flags. .El .Pp The argument @@ -96,20 +96,24 @@ If the .Fa lwps argument is .Pf non- Dv NULL , -then if there is a thread specification present in -.Fa arg , -it will be validated to see if it is a valid range and then a pointer to -the start of the thread specification will be stored in -.Fa lwps . -For more information on determining process range validity, see +then the functions will treat any portion of +.Fa arg +after a +.Sq / +character as a thread range. +The thread range will be validated as though a call to the .Xr proc_lwp_range_valid 3PROC -for more information on valid and invalid tread specifications. +function had been made, and a pointer to the start of the range will be +stored in +.Fa lwps . +For a discussion of what constitutes a valid thread range, please see +.Xr proc_lwp_range_valid 3PROC . .Sh RETURN VALUES Upon successful completion, the .Fn proc_arg_grab and .Fn proc_arg_xgrab -functions return a pointer to the process handle is returned. +functions return a pointer to the process handle. Otherwise, .Dv NULL is returned and |