From 72dafce20f72d7aa3e2fab75a4ef453d39b8dbdd Mon Sep 17 00:00:00 2001 From: trociny Date: Sat, 20 Apr 2013 08:03:56 +0000 Subject: Add procstat_getosrel function to retrieve a process osrel info. MFC after: 1 month --- lib/libprocstat/libprocstat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libprocstat/libprocstat.h') diff --git a/lib/libprocstat/libprocstat.h b/lib/libprocstat/libprocstat.h index 24826ec..353948b 100644 --- a/lib/libprocstat/libprocstat.h +++ b/lib/libprocstat/libprocstat.h @@ -169,6 +169,8 @@ int procstat_get_vnode_info(struct procstat *procstat, struct filestat *fst, struct vnstat *vn, char *errbuf); gid_t *procstat_getgroups(struct procstat *procstat, struct kinfo_proc *kp, unsigned int *count); +int procstat_getosrel(struct procstat *procstat, struct kinfo_proc *kp, + int *osrelp); int procstat_getpathname(struct procstat *procstat, struct kinfo_proc *kp, char *pathname, size_t maxlen); int procstat_getrlimit(struct procstat *procstat, struct kinfo_proc *kp, -- cgit v1.1