diff options
Diffstat (limited to 'include/kvm.h')
-rw-r--r-- | include/kvm.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/kvm.h b/include/kvm.h index e31923069b2..4f729d50d8a 100644 --- a/include/kvm.h +++ b/include/kvm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.h,v 1.8 2003/06/26 19:34:17 avsm Exp $ */ +/* $OpenBSD: kvm.h,v 1.9 2003/08/01 17:38:33 avsm Exp $ */ /* $NetBSD: kvm.h,v 1.7 1996/04/19 12:02:50 leo Exp $ */ /*- @@ -70,8 +70,10 @@ kvm_t *kvm_open (const char *, const char *, const char *, int, const char *); kvm_t *kvm_openfiles (const char *, const char *, const char *, int, char *); -ssize_t kvm_read(kvm_t *, u_long, void *, size_t); -ssize_t kvm_write(kvm_t *, u_long, const void *, size_t); +ssize_t kvm_read(kvm_t *, u_long, void *, size_t) + __attribute__((__bounded__(__buffer__,3,4))); +ssize_t kvm_write(kvm_t *, u_long, const void *, size_t) + __attribute__((__bounded__(__buffer__,3,4))); __END_DECLS |