nix icon indicating copy to clipboard operation
nix copied to clipboard

Should maybe clarify that RLIM_INFINITY comes from libc

Open hlavaatch opened this issue 3 years ago • 1 comments
trafficstars

Doc for getrlimit and setrlimit mentions RLIM_INFINITY constant but doesn't mention it comes from the libc crate. Maybe it should, or the constant could be re-exported in the nix::sys::resource namespace. As it is now, search for RLIM_INFINITY in nix doc yields nothing, leaving user scratching his head :)

hlavaatch avatar Aug 20 '22 09:08 hlavaatch

Good point. Reexporting it makes sense, I think. Would you care to submit a PR for that?

asomers avatar Aug 20 '22 16:08 asomers