Function gkfs::syscall::gkfs_access

Function Documentation

int gkfs::syscall::gkfs_access(const std::string &path, int mask, bool follow_links = true)

gkfs wrapper for access() system calls errno may be set

Parameters
  • path

  • mask

  • follow_links

Returns

0 on success, -1 on failure