summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-02-11 17:35:18 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2021-09-05 15:06:17 +0200
commit16abea6cf17e4726b68eb71b174b69ab2724ea78 (patch)
treea931d74e4e470fa3c765dc42dca889d4e8c67401
parentae6b221882ce71ba82fcdbe02419a225111502f0 (diff)
ptrace.2: Document ptrace with 'int' instead of 'enum'
There's a bit of inconsistency with enum in the manual pages. The following functions are implemented using 'enum': pciconfig_iobase(2), prlimit(2), ptrace(2), mcheck(3), mcheck_pedantic(3), mcheck_status(3). Of them, all mcheck*() functions are documented using enum. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/ptrace.23
1 files changed, 1 insertions, 2 deletions
diff --git a/man2/ptrace.2 b/man2/ptrace.2
index ffaf8db0d..6560b4bd8 100644
--- a/man2/ptrace.2
+++ b/man2/ptrace.2
@@ -109,8 +109,7 @@ ptrace \- process trace
.nf
.B #include <sys/ptrace.h>
.PP
-.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid ,
-.BI " void *" addr ", void *" data );
+.BI "long ptrace(int " request ", pid_t " pid ", void *" addr ", void *" data );
.fi
.SH DESCRIPTION
The