Lines Matching defs:sysconf
1523 let ngroups_max = match sysconf(SysconfVar::NGROUPS_MAX) {
1640 /// `NGROUPS_MAX` sysconf value. This mimics the behaviour of `getgroups()`
1649 let ngroups_max = match sysconf(SysconfVar::NGROUPS_MAX) {
2118 /// Variable names for `sysconf`
2123 /// shown in the `sysconf(3)` man page. Usually, it's the same as the C
2131 /// - [sysconf(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html)
2710 /// [sysconf(3)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html))
2715 /// sysconf variables: options and limits. See sysconf(3) for more details.
2725 pub fn sysconf(var: SysconfVar) -> Result<Option<c_long>> {
2728 libc::sysconf(var as c_int)
3117 let bufsize = match sysconf(SysconfVar::GETPW_R_SIZE_MAX) {
3241 let bufsize = match sysconf(SysconfVar::GETGR_R_SIZE_MAX) {