X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/de7ca2d0664571507e6541388f8eff0638e12c76..18e46072de1bee4d12c5ed5ff012a750e727799a:/libutil/libutil.h diff --git a/libutil/libutil.h b/libutil/libutil.h index b1b2405..b20ffa2 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -102,6 +102,8 @@ struct kinfo_file * kinfo_getfile(pid_t _pid, int *_cntp); struct kinfo_vmentry * kinfo_getvmmap(pid_t _pid, int *_cntp); +struct kinfo_vmobject * + kinfo_getvmobject(int *_cntp); struct kinfo_proc * kinfo_getallproc(int *_cntp); struct kinfo_proc * @@ -167,7 +169,7 @@ int gr_copy(int __ffd, int _tfd, const struct group *_gr, struct group * gr_dup(const struct group *_gr); struct group * - gr_add(struct group *_gr, char *_newmember); + gr_add(const struct group *_gr, const char *_newmember); int gr_equal(const struct group *_gr1, const struct group *_gr2); void gr_fini(void); int gr_init(const char *_dir, const char *_master);