Skip to content

Commit

Permalink
fcntl/O_SEARCH: add description similiar to the posix manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJonny committed Apr 15, 2024
1 parent 24cff1f commit 02d0e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fcntl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ libc_bitflags!(
/// Similar to `O_DSYNC` but applies to `read`s instead.
#[cfg(any(target_os = "linux", netbsdlike))]
O_RSYNC;
/// Skip search permission checks.
/// Open directory for search only. Skip search permission checks on
/// later `openat()` calls using the obtained file descriptor.
#[cfg(any(target_os = "netbsd"), freebsd, solarish)]
O_SEARCH;
/// Open with a shared file lock.
Expand Down

0 comments on commit 02d0e91

Please sign in to comment.