summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 13:08:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-01 13:08:08 +0000
commitb600f907c4a7230dc9f10154accae2a5dd247b00 (patch)
treead75aff7c761d0b735f898311a138b89d2db4a44
parent84683bfa10c46394f740a9628e88c1d4e2c6dd2d (diff)
from netbsd: Add kvm_dump* prototypes
-rw-r--r--include/kvm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/kvm.h b/include/kvm.h
index 8ff2ad5bb80..a19fd8bd006 100644
--- a/include/kvm.h
+++ b/include/kvm.h
@@ -1,4 +1,4 @@
-/* $NetBSD: kvm.h,v 1.6 1994/10/26 00:55:58 cgd Exp $ */
+/* $NetBSD: kvm.h,v 1.7 1996/04/19 12:02:50 leo Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -44,6 +44,7 @@
#include <nlist.h>
#include <sys/cdefs.h>
+#include <stdio.h>
__BEGIN_DECLS
@@ -51,6 +52,9 @@ typedef struct __kvm kvm_t;
struct kinfo_proc;
int kvm_close __P((kvm_t *));
+int kvm_dump_inval __P((kvm_t *));
+int kvm_dump_mkheader __P((kvm_t *, off_t));
+int kvm_dump_wrtheader __P((kvm_t *, FILE *, int));
char **kvm_getargv __P((kvm_t *, const struct kinfo_proc *, int));
char **kvm_getenvv __P((kvm_t *, const struct kinfo_proc *, int));
char *kvm_geterr __P((kvm_t *));