mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-11-27 09:31:26 +00:00
Fix description of fchownat
This commit is contained in:
parent
b44daa1362
commit
885b9430ae
@ -758,8 +758,8 @@ pub enum FchownatFlags {
|
||||
/// If `flag` is `FchownatFlags::NoFollowSymlink` and `path` names a symbolic link,
|
||||
/// then the mode of the symbolic link is changed.
|
||||
///
|
||||
/// `fchownat(None, path, mode, FchownatFlags::NoFollowSymlink)` is identical to
|
||||
/// a call `libc::lchown(path, mode)`. That's why `lchmod` is unimplemented in
|
||||
/// `fchownat(None, path, owner, group, FchownatFlags::NoFollowSymlink)` is identical to
|
||||
/// a call `libc::lchown(path, owner, group)`. That's why `lchown` is unimplemented in
|
||||
/// the `nix` crate.
|
||||
///
|
||||
/// # References
|
||||
|
Loading…
Reference in New Issue
Block a user