Function gkfs::syscall::gkfs_open

Function Documentation

int gkfs::syscall::gkfs_open(const std::string &path, mode_t mode, int flags)

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

Parameters:
  • path –

  • mode –

  • flags –

Returns:

0 on success, -1 on failure