[go: up one dir, main page]

has

Macro has 

Source
macro_rules! has {
    ($mode:expr, $perm:expr) => { ... };
}
Expand description

Used to check if the mode has its perm bit set.

This macro expands to mode & perm != 0.