diff options
author | peter <peter@FreeBSD.org> | 2008-11-30 22:40:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2008-11-30 22:40:14 +0000 |
commit | 16271b5bfa14998575e875d8911bbe565051831c (patch) | |
tree | 85c55795a8e2bf89d2218f061266b93e059c8813 /lib/libutil/libutil.h | |
parent | 2b1f03929a1b2aede23598bc1b54f8061c22fd69 (diff) | |
download | FreeBSD-src-16271b5bfa14998575e875d8911bbe565051831c.zip FreeBSD-src-16271b5bfa14998575e875d8911bbe565051831c.tar.gz |
Add experimental front ends to the kinfo_vmentry and kinfo_filedesc
sysctls.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r-- | lib/libutil/libutil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index 186ee2e..3187fb3 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -64,6 +64,8 @@ struct termios; struct winsize; struct utmp; struct in_addr; +struct kinfo_file; +struct kinfo_vmentry; __BEGIN_DECLS void clean_environment(const char * const *_white, @@ -100,6 +102,10 @@ int realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, int kld_isloaded(const char *name); int kld_load(const char *name); +struct kinfo_file * + kinfo_getfile(pid_t _pid, int *_cntp); +struct kinfo_vmentry * + kinfo_getvmmap(pid_t _pid, int *_cntp); #ifdef _STDIO_H_ /* avoid adding new includes */ char *fparseln(FILE *, size_t *, size_t *, const char[3], int); |