summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ptrace.2
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2003-08-11 13:13:46 +0000
committeriedowse <iedowse@FreeBSD.org>2003-08-11 13:13:46 +0000
commit581beee0a85a43275dca02bc412ddbbfecd3f6af (patch)
treeb408c95e0bbb86926afa588239ae50594fc2bb12 /lib/libc/sys/ptrace.2
parent9b42b788c1227c6247fa3148c1d02688e7642f04 (diff)
downloadFreeBSD-src-581beee0a85a43275dca02bc412ddbbfecd3f6af.zip
FreeBSD-src-581beee0a85a43275dca02bc412ddbbfecd3f6af.tar.gz
Make the documentation of PT_STEP match its implementation: the
`data' parameter is not ignored; if non-zero, it specifies a signal number to be delivered to the traced process. MFC after: 1 day
Diffstat (limited to 'lib/libc/sys/ptrace.2')
-rw-r--r--lib/libc/sys/ptrace.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 7ce4077..be44822 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -2,7 +2,7 @@
.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
.\"
.\" This file is in the public domain.
-.Dd January 20, 1996
+.Dd August 11, 2003
.Dt PTRACE 2
.Os
.Sh NAME
@@ -162,7 +162,8 @@ should be passed
The
.Fa data
argument
-is not used.
+provides a signal number to be delivered to the traced process as it
+resumes execution, or 0 if no signal is to be sent.
.It Dv PT_KILL
The traced process terminates, as if
.Dv PT_CONTINUE
OpenPOWER on IntegriCloud