1 /*- 2 * Copyright (c) 1989 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)kvm.h 5.6 (Berkeley) 04/23/91 8 */ 9 10 #ifndef _KVM_H_ 11 #define _KVM_H_ 12 13 /* Default version symbol. */ 14 #define VRS_SYM "_version" 15 #define VRS_KEY "VERSION" 16 17 #include <sys/cdefs.h> 18 19 __BEGIN_DECLS 20 struct proc; 21 struct user; 22 char *kvm_getargs __P((const struct proc *, const struct user *)); 23 struct eproc *kvm_geteproc __P((const struct proc *)); 24 char *kvm_geterr __P((void)); 25 int kvm_getprocs __P((int, int)); 26 struct user *kvm_getu __P((const struct proc *)); 27 struct proc *kvm_nextproc __P((void)); 28 int kvm_nlist __P((struct nlist *)); 29 int kvm_openfiles __P((const char *, const char *, const char *)); 30 int kvm_read __P((void *, void *, int)); 31 __END_DECLS 32 33 #endif /* !_KVM_H_ */ 34