mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-01 00:19:54 +08:00
fs_openat.hpp
This commit is contained in:
parent
35ddb9d86d
commit
1798adad65
@ -56,6 +56,16 @@ namespace fs
|
||||
return ((rv == -1) ? -errno : rv);
|
||||
}
|
||||
|
||||
static
|
||||
inline
|
||||
int
|
||||
openat(const int dirfd_,
|
||||
const ghc::filesystem::path &pathname_,
|
||||
const int flags_)
|
||||
{
|
||||
return fs::openat(dirfd_,pathname_.string().c_str(),flags_);
|
||||
}
|
||||
|
||||
static
|
||||
inline
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user