summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ptrace.2
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-01-12 00:38:36 +0000
committermpp <mpp@FreeBSD.org>1997-01-12 00:38:36 +0000
commit54b96968b6dec7e1b3cbfa045f28dd9c4e0ecc45 (patch)
tree90aaba8b57f96154b6594ad2a7c5a9b92e206d48 /lib/libc/sys/ptrace.2
parent222e4ec9673e5231e2af9b2b72919d890d8829ed (diff)
downloadFreeBSD-src-54b96968b6dec7e1b3cbfa045f28dd9c4e0ecc45.zip
FreeBSD-src-54b96968b6dec7e1b3cbfa045f28dd9c4e0ecc45.tar.gz
Add missing RETURN VALUES/ERRORS sections.
Diffstat (limited to 'lib/libc/sys/ptrace.2')
-rw-r--r--lib/libc/sys/ptrace.211
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 49bb163..e5a0597 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -1,4 +1,4 @@
-.\" $Id: ptrace.2,v 1.4 1996/08/29 21:24:15 wosch Exp $
+.\" $Id: ptrace.2,v 1.5 1996/09/23 22:22:40 wosch Exp $
.\" $NetBSD: ptrace.2,v 1.2 1995/02/27 12:35:37 cgd Exp $
.\"
.\" This file is in the public domain.
@@ -201,15 +201,18 @@ it loads the traced process' floating-point registers from the
pointed to by
.Fa addr .
.El
-.Sh ERRORS
+.Sh RETURN VALUES
Some requests can cause
.Fn ptrace
to return
.Li -1
as a non-error value; to disambiguate,
.Va errno
-can be set to 0 before the call and checked afterwards. The possible
-errors are:
+can be set to 0 before the call and checked afterwards.
+.Sh ERRORS
+The
+.Fn ptrace
+function may fail if:
.Bl -tag -width 4n
.It Bq Er ESRCH
.Bl -bullet -compact
OpenPOWER on IntegriCloud