summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-07-17 16:30:11 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-07-17 16:30:11 +0000
commit21b094bad2fc117161db49fcad1210a983981860 (patch)
tree2d158903711dbb303d2e17ee55c6c528699eaff8 /lib
parent88865b5df07337b313209eb6f02b4950f0c30bca (diff)
document "pid"; based on a diff from Kristaps Dzonsons
ok otto
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ktrace.210
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 4ba5c7547ed..bc5540ff951 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.2,v 1.18 2007/05/31 19:19:32 jmc Exp $
+.\" $OpenBSD: ktrace.2,v 1.19 2007/07/17 16:30:10 jmc Exp $
.\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 17 2007 $
.Dt KTRACE 2
.Os
.Sh NAME
@@ -136,6 +136,12 @@ record.
The type specific records are defined in the
.Aq Pa sys/ktrace.h
include file.
+.Pp
+The
+.Fa pid
+parameter refers to a process ID.
+If it is negative,
+it refers to a process group ID.
.Sh RETURN VALUES
On successful completion a value of 0 is returned.
Otherwise, a value of \-1 is returned and