diff options
author | dfr <dfr@FreeBSD.org> | 1998-09-16 09:30:14 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-09-16 09:30:14 +0000 |
commit | 7a96388db15e18cf622a09252ee2584d302e99ee (patch) | |
tree | 49f1d12f7682c3eb0eaaa94ef36bc747e4286f86 /lib/libkvm | |
parent | 435b9d97a5dcb1684e7f8657b12906c0512fc419 (diff) | |
download | FreeBSD-src-7a96388db15e18cf622a09252ee2584d302e99ee.zip FreeBSD-src-7a96388db15e18cf622a09252ee2584d302e99ee.tar.gz |
Adjust the declarations of kvm_read and kvm_write to match reality a little
closer.
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm/kvm.h b/lib/libkvm/kvm.h index 6c437b9..fb2d224 100644 --- a/lib/libkvm/kvm.h +++ b/lib/libkvm/kvm.h @@ -61,8 +61,8 @@ kvm_t *kvm_open __P((const char *, const char *, const char *, int, const char *)); kvm_t *kvm_openfiles __P((const char *, const char *, const char *, int, char *)); -int kvm_read __P((kvm_t *, unsigned long, void *, unsigned int)); -int kvm_write __P((kvm_t *, unsigned long, const void *, unsigned int)); +ssize_t kvm_read __P((kvm_t *, unsigned long, void *, size_t)); +ssize_t kvm_write __P((kvm_t *, unsigned long, const void *, size_t)); /* Comment this out until it can be fixed correctly. ssize_t kvm_uread __P((kvm_t *, struct proc *, unsigned long, char *, size_t)); |