mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
fs_openat.hpp
This commit is contained in:
parent
35ddb9d86d
commit
1798adad65
1 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue