Function openat2::has_openat2[][src]

pub fn has_openat2() -> bool
Expand description

Probe for the presence of the openat2() syscall.

This checks if openat2() is supported on the current kernel using the most efficient method possible.

Note: Use of has_openat2_cached() is recommended for most cases.