ΒΆstd::error_code changeFileOwnership(
int FD,
uint32_t Owner,
uint32_t Group)
std::error_code changeFileOwnership(
int FD,
uint32_t Owner,
uint32_t Group)
Description
Change ownership of a file.
Declared at: llvm/include/llvm/Support/FileSystem.h:1222
Parameters
- int FD
- uint32_t Owner
- The owner of the file to change to.
- uint32_t Group
- The group of the file to change to.
Returns
errc::success if successfully updated file ownership, otherwise an error code is returned.