This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.
pubfnsetrlimit(resource: rlimit_resource, rlim: *constrlimit) usize {
// use prlimit64 to have 64 bit limits on 32 bit platformsreturnprlimit(0, resource, rlim, null);
}