summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ptrace.23
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index ae685fd..d30fedc 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -297,6 +297,9 @@ The
.Fa data
argument is to be set to the size of the structure known to the caller.
This allows the structure to grow without affecting older programs.
+.It PT_GETNUMLWPS
+This request returns the number of kernel threads associated with the
+traced process.
.It PT_GETLWPLIST
This request can be used to get the current thread list.
A pointer to an array of type
OpenPOWER on IntegriCloud