kvm.h (c10970dd7d7cd88f4e14743bd56f6bf010c49274) kvm.h (2a2134043ca6ee86d3a3b5fe4bc9d29ffac50612)
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

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

73char **kvm_getargv(kvm_t *, const struct kinfo_proc *, int);
74int kvm_getcptime(kvm_t *, long *);
75char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int);
76char *kvm_geterr(kvm_t *);
77char *kvm_getfiles(kvm_t *, int, int, int *);
78int kvm_getloadavg(kvm_t *, double [], int);
79int kvm_getmaxcpu(kvm_t *);
80void *kvm_getpcpu(kvm_t *, int);
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

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

73char **kvm_getargv(kvm_t *, const struct kinfo_proc *, int);
74int kvm_getcptime(kvm_t *, long *);
75char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int);
76char *kvm_geterr(kvm_t *);
77char *kvm_getfiles(kvm_t *, int, int, int *);
78int kvm_getloadavg(kvm_t *, double [], int);
79int kvm_getmaxcpu(kvm_t *);
80void *kvm_getpcpu(kvm_t *, int);
81uint64_t kvm_counter_u64_fetch(kvm_t *, u_long);
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 *);
87kvm_t *kvm_openfiles
88 (const char *, const char *, const char *, int, char *);
89ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t);
82struct kinfo_proc *
83 kvm_getprocs(kvm_t *, int, int, int *);
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);
90ssize_t kvm_uread
91 (kvm_t *, const 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_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_ */