[][src]Function simple_libc::sysconf

pub fn sysconf(name: Int) -> Option<Long>

Get the value of runtime constants/limits.

Given a "name" (one of the libc::_SC_* constants), returns the associated configuration value.

None is returned if an error occurs (usually when the "name" is not recognized) OR if the value returned by the C function sysconf() is < 0 (usually indicates no limit). To differentiate between these two possibilities, use sysconf_raw().