diff options
author | Mike Pritchard <mpp@FreeBSD.org> | 1997-01-12 00:38:36 +0000 |
---|---|---|
committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-01-12 00:38:36 +0000 |
commit | 9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39 (patch) | |
tree | 90aaba8b57f96154b6594ad2a7c5a9b92e206d48 /lib/libc/sys/ptrace.2 | |
parent | aeea55e4594eff58688cdf3deb17dadce0315cfa (diff) | |
download | src-9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39.tar.gz src-9880dddc9e1e1a6a6aae61c9fc62235dfb1b6a39.zip |
Add missing RETURN VALUES/ERRORS sections.
Notes
Notes:
svn path=/head/; revision=21579
Diffstat (limited to 'lib/libc/sys/ptrace.2')
-rw-r--r-- | lib/libc/sys/ptrace.2 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2 index 49bb163ab544..e5a0597903d3 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 |