Deleted Added
full compact
kvm.h (118280) kvm.h (121060)
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)kvm.h 8.1 (Berkeley) 6/2/93
34 * $FreeBSD: head/lib/libkvm/kvm.h 118280 2003-07-31 21:30:28Z phk $
34 * $FreeBSD: head/lib/libkvm/kvm.h 121060 2003-10-13 04:44:55Z bde $
35 */
36
37#ifndef _KVM_H_
38#define _KVM_H_
39
40#include <sys/cdefs.h>
41#include <sys/_types.h>
42#include <nlist.h>

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

78char *kvm_geterr(kvm_t *);
79char *kvm_getfiles(kvm_t *, int, int, int *);
80int kvm_getloadavg(kvm_t *, double [], int);
81struct kinfo_proc *
82 kvm_getprocs(kvm_t *, int, int, int *);
83int kvm_getswapinfo(kvm_t *, struct kvm_swap *, int, int);
84int kvm_nlist(kvm_t *, struct nlist *);
85kvm_t *kvm_open
35 */
36
37#ifndef _KVM_H_
38#define _KVM_H_
39
40#include <sys/cdefs.h>
41#include <sys/_types.h>
42#include <nlist.h>

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

78char *kvm_geterr(kvm_t *);
79char *kvm_getfiles(kvm_t *, int, int, int *);
80int kvm_getloadavg(kvm_t *, double [], int);
81struct kinfo_proc *
82 kvm_getprocs(kvm_t *, int, int, int *);
83int kvm_getswapinfo(kvm_t *, struct kvm_swap *, int, int);
84int kvm_nlist(kvm_t *, struct nlist *);
85kvm_t *kvm_open
86(const char *, const char *, const char *, int, const char *);
86 (const char *, const char *, const char *, int, const char *);
87kvm_t *kvm_openfiles
87kvm_t *kvm_openfiles
88(const char *, const char *, const char *, int, char *);
88 (const char *, const char *, const char *, int, char *);
89ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t);
90ssize_t kvm_uread
89ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t);
90ssize_t kvm_uread
91(kvm_t *, struct kinfo_proc *, unsigned long, char *, size_t);
91 (kvm_t *, struct kinfo_proc *, unsigned long, char *, size_t);
92ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t);
93__END_DECLS
94
95#endif /* !_KVM_H_ */
92ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t);
93__END_DECLS
94
95#endif /* !_KVM_H_ */