summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ptrace.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/ptrace.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Diffstat (limited to 'lib/libc/sys/ptrace.2')
-rw-r--r--lib/libc/sys/ptrace.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 7b08791..298de96 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -16,7 +16,9 @@
.Ft int
.Fn ptrace "int request" "pid_t pid" "caddr_t addr" "int data"
.Sh DESCRIPTION
+The
.Fn ptrace
+system call
provides tracing and debugging facilities.
It allows one process
(the
@@ -37,7 +39,9 @@ or the delivery of a
.Dv SIGCHLD
signal, examine the state of the stopped process, and cause it to
terminate or continue as appropriate.
+The
.Fn ptrace
+system call
is the mechanism by which all this happens.
.Pp
The
@@ -252,7 +256,7 @@ can be set to 0 before the call and checked afterwards.
.Sh ERRORS
The
.Fn ptrace
-function may fail if:
+system call may fail if:
.Bl -tag -width Er
.It Bq Er ESRCH
.Bl -bullet -compact
@@ -324,7 +328,7 @@ above.
.Xr i386_clr_watch 3 ,
.Xr i386_set_watch 3
.Sh HISTORY
-A
+The
.Fn ptrace
-function call appeared in
+function appeared in
.At v7 .
OpenPOWER on IntegriCloud