Skip to main content

setrlimit

Function setrlimit 

Source
pub fn setrlimit(resource: Resource, limit: Rlimit) -> Result<(), Errno>
Expand description

Définit la Rlimit courante du processus pour resource.

§Errors

  • Errno::EINVAL : valeurs incohérentes (soft > hard, …).
  • Errno::EPERM : tentative de relever la hard limit sans CAP_SYS_RESOURCE.