diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2008-12-06 19:54:50 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2008-12-06 19:54:50 +0000 |
| commit | c20d140b2317d1562242ffe5c249427f0259d279 (patch) | |
| tree | bdb1bbc059b8e68e6dfee02b55fb82e20fa9186c /lib/libutil/libutil.h | |
| parent | 3ca97ccf5f1740999bcdeefeb3db621a2fdc86e2 (diff) | |
Notes
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 5fcbdb39580f..1061fad7b2c0 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, @@ -99,6 +101,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); |
