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 f3f7574847f..eba240c57bc 100644 --- a/include/kvm.h +++ b/include/kvm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.h,v 1.6 2003/06/02 19:34:12 millert Exp $ */ +/* $OpenBSD: kvm.h,v 1.7 2003/06/26 18:35:13 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 |