aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2007-04-07 03:16:23 +0000
committerEd Maste <emaste@FreeBSD.org>2007-04-07 03:16:23 +0000
commit59513fc4eec6070b9b0190ea75de45d881778a47 (patch)
tree21cdceddfe1924f0da3a8071c2a2727885900049 /lib/libc/sys
parent54911451d51965b17f1decfa913ab86e6619e8d7 (diff)
Notes
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ptrace.29
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 00b529b8044c..ae685fd587a2 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -299,6 +299,15 @@ 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_GETLWPLIST
This request can be used to get the current thread list.
+A pointer to an array of type
+.Vt lwpid_t
+should be passed in
+.Fa addr ,
+with the array size specified by
+.Fa data .
+The return value from
+.Fn ptrace
+is the count of array entries filled in.
.El
.Pp
Additionally, machine-specific requests can exist.