fs_openat.hpp

This commit is contained in:
Antonio SJ Musumeci 2024-02-06 23:59:20 -06:00
parent 35ddb9d86d
commit 1798adad65

View File

@ -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