date and time created 90/06/26 14:23:54 by marc
authorMarc Teitelbaum <marc@ucbvax.Berkeley.EDU>
Wed, 27 Jun 1990 05:23:54 +0000 (21:23 -0800)
committerMarc Teitelbaum <marc@ucbvax.Berkeley.EDU>
Wed, 27 Jun 1990 05:23:54 +0000 (21:23 -0800)
SCCS-vsn: include/kvm.h 1.1

usr/src/include/kvm.h [new file with mode: 0644]

diff --git a/usr/src/include/kvm.h b/usr/src/include/kvm.h
new file mode 100644 (file)
index 0000000..5834206
--- /dev/null
@@ -0,0 +1,32 @@
+/*-
+ * Copyright (c) 1989 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)kvm.h       1.1 (Berkeley) %G%
+ */
+
+#include <sys/kinfo.h>
+
+/*
+ * type byte prepending key
+ */
+#define        KVMDB_NLIST     1
+#define        KVMDB_DEVS      2
+
+#define        KVMDBDIR        "/var/run"
+
+#if __STDC__ || c_plusplus
+extern struct proc *kvm_nextproc(void);
+extern struct eproc *kvm_geteproc(const struct proc *);
+extern struct user *kvm_getu(const struct proc *);
+extern char *kvm_getargs(const struct proc *, const struct user *);
+extern char *kvm_geterr(void);
+#else
+extern struct proc *kvm_nextproc();
+extern struct eproc *kvm_geteproc();
+extern struct user *kvm_getu();
+extern char *kvm_getargs();
+extern char *kvm_geterr();
+#endif