Function openat2::has_openat2_cached [−][src]
pub fn has_openat2_cached() -> bool
Expand description
A cached version of has_openat2()
.
This is equivalent to has_openat2()
, except that the result is cached after the first call
for efficiency.
Note that the result is cached using an atomic data type, without locking. As a result, if
multiple threads call this function concurrently, has_openat2()
may be called multiple
times.