Deleted Added
full compact
kvm.h (249355) kvm.h (253167)
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)kvm.h 8.1 (Berkeley) 6/2/93
1/*-
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)kvm.h 8.1 (Berkeley) 6/2/93
30 * $FreeBSD: head/lib/libkvm/kvm.h 249355 2013-04-11 07:30:49Z glebius $
30 * $FreeBSD: head/lib/libkvm/kvm.h 253167 2013-07-10 19:44:43Z trociny $
31 */
32
33#ifndef _KVM_H_
34#define _KVM_H_
35
36#include <sys/cdefs.h>
37#include <sys/types.h>
38#include <nlist.h>

--- 45 unchanged lines hidden (view full) ---

84int kvm_getswapinfo(kvm_t *, struct kvm_swap *, int, int);
85int kvm_nlist(kvm_t *, struct nlist *);
86kvm_t *kvm_open
87 (const char *, const char *, const char *, int, const char *);
88kvm_t *kvm_openfiles
89 (const char *, const char *, const char *, int, char *);
90ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t);
91ssize_t kvm_read_zpcpu(kvm_t *, void *, u_long, size_t, int);
31 */
32
33#ifndef _KVM_H_
34#define _KVM_H_
35
36#include <sys/cdefs.h>
37#include <sys/types.h>
38#include <nlist.h>

--- 45 unchanged lines hidden (view full) ---

84int kvm_getswapinfo(kvm_t *, struct kvm_swap *, int, int);
85int kvm_nlist(kvm_t *, struct nlist *);
86kvm_t *kvm_open
87 (const char *, const char *, const char *, int, const char *);
88kvm_t *kvm_openfiles
89 (const char *, const char *, const char *, int, char *);
90ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t);
91ssize_t kvm_read_zpcpu(kvm_t *, void *, u_long, size_t, int);
92ssize_t kvm_uread
93 (kvm_t *, const struct kinfo_proc *, unsigned long, char *, size_t);
94ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t);
95__END_DECLS
96
97#endif /* !_KVM_H_ */
92ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t);
93__END_DECLS
94
95#endif /* !_KVM_H_ */