/*- * Copyright (c) 1980, 1992, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #ifndef lint static char sccsid[] = "@(#)fetch.c 8.1 (Berkeley) 06/06/93"; #endif /* not lint */ #include #include "systat.h" #include "extern.h" int kvm_ckread(a, b, l) void *a, *b; int l; { if (kvm_read(kd, (u_long)a, b, l) != l) { if (verbose) error("error reading kmem at %x\n", a); return (0); } else return (1); }