Browse Source

fs_openat.hpp

toml4
Antonio SJ Musumeci 9 months ago
parent
commit
1798adad65
  1. 10
      src/fs_openat.hpp

10
src/fs_openat.hpp

@ -56,6 +56,16 @@ namespace fs
return ((rv == -1) ? -errno : rv); 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 static
inline inline
int int

Loading…
Cancel
Save