kvm.h (67e405315d8c029fabdd1ebb1a25745f2e607ccd) | kvm.h (794a9a6c96abe0413fbaf3a7f116e0a0e84e0e85) |
---|---|
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 --- 60 unchanged lines hidden (view full) --- 69 70__BEGIN_DECLS 71int kvm_close(kvm_t *); 72char **kvm_getargv(kvm_t *, const struct kinfo_proc *, int); 73char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int); 74char *kvm_geterr(kvm_t *); 75char *kvm_getfiles(kvm_t *, int, int, int *); 76int kvm_getloadavg(kvm_t *, double [], 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 --- 60 unchanged lines hidden (view full) --- 69 70__BEGIN_DECLS 71int kvm_close(kvm_t *); 72char **kvm_getargv(kvm_t *, const struct kinfo_proc *, int); 73char **kvm_getenvv(kvm_t *, const struct kinfo_proc *, int); 74char *kvm_geterr(kvm_t *); 75char *kvm_getfiles(kvm_t *, int, int, int *); 76int kvm_getloadavg(kvm_t *, double [], int); |
77int kvm_getmaxcpu(kvm_t *); 78void *kvm_getpcpu(kvm_t *, int); |
|
77struct kinfo_proc * 78 kvm_getprocs(kvm_t *, int, int, int *); 79int kvm_getswapinfo(kvm_t *, struct kvm_swap *, int, int); 80int kvm_nlist(kvm_t *, struct nlist *); 81kvm_t *kvm_open 82 (const char *, const char *, const char *, int, const char *); 83kvm_t *kvm_openfiles 84 (const char *, const char *, const char *, int, char *); 85ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t); 86ssize_t kvm_uread 87 (kvm_t *, struct kinfo_proc *, unsigned long, char *, size_t); 88ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t); 89__END_DECLS 90 91#endif /* !_KVM_H_ */ | 79struct kinfo_proc * 80 kvm_getprocs(kvm_t *, int, int, int *); 81int kvm_getswapinfo(kvm_t *, struct kvm_swap *, int, int); 82int kvm_nlist(kvm_t *, struct nlist *); 83kvm_t *kvm_open 84 (const char *, const char *, const char *, int, const char *); 85kvm_t *kvm_openfiles 86 (const char *, const char *, const char *, int, char *); 87ssize_t kvm_read(kvm_t *, unsigned long, void *, size_t); 88ssize_t kvm_uread 89 (kvm_t *, struct kinfo_proc *, unsigned long, char *, size_t); 90ssize_t kvm_write(kvm_t *, unsigned long, const void *, size_t); 91__END_DECLS 92 93#endif /* !_KVM_H_ */ |