Function gkfs::syscall::gkfs_create

Function Documentation

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

Wrapper function for file/directory creation errno may be set

Parameters
  • path

  • mode

Returns

0 on success, -1 on failure