MCPcopy Create free account
hub / github.com/F-Stack/f-stack / lim_max_proc

Function lim_max_proc

freebsd/kern/kern_resource.c:1273–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1271}
1272
1273rlim_t
1274lim_max_proc(struct proc *p, int which)
1275{
1276 struct rlimit rl;
1277
1278 lim_rlimit_proc(p, which, &rl);
1279 return (rl.rlim_max);
1280}
1281
1282/*
1283 * Return the current (soft) limit for a particular system resource.

Callers

nothing calls this directly

Calls 1

lim_rlimit_procFunction · 0.70

Tested by

no test coverage detected