diff options
| author | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 07:59:44 +0000 |
|---|---|---|
| committer | Mikolaj Golub <trociny@FreeBSD.org> | 2013-04-20 07:59:44 +0000 |
| commit | 7cc0ebfd10f73b2fdb7ef33a013ba38c4293d7ae (patch) | |
| tree | 1f8660d19df0d3b65eecb0ba0022ab0d31cea2b5 /lib/libprocstat/libprocstat.3 | |
| parent | 90a15eb9cb4467eea08f85dde24b5fec46120808 (diff) | |
Notes
Diffstat (limited to 'lib/libprocstat/libprocstat.3')
| -rw-r--r-- | lib/libprocstat/libprocstat.3 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libprocstat/libprocstat.3 b/lib/libprocstat/libprocstat.3 index 06a66a06bca07..bc78d684d7db4 100644 --- a/lib/libprocstat/libprocstat.3 +++ b/lib/libprocstat/libprocstat.3 @@ -128,6 +128,13 @@ .Fa "unsigned int *count" .Fc .Ft "int" +.Fo procstat_getrlimit +.Fa "struct procstat *procstat" +.Fa "struct kinfo_proc *kp" +.Fa "int which" +.Fa "struct rlimit* rlimit" +.Fc +.Ft "int" .Fo procstat_getumask .Fa "struct procstat *procstat" .Fa "struct kinfo_proc *kp" @@ -261,6 +268,16 @@ The caller is responsible to free the allocated memory with a subsequent function call. .Pp The +.Fn procstat_getrlimit +function gets a pointer to the +.Vt procstat +structure, a pointer to +.Vt kinfo_proc +structure, resource index +.Fa which , +and returns the actual resource limit in the 4th reference parameter. +.Pp +The .Fn procstat_getumask function gets a pointer to the .Vt procstat |
