Function gkfs::syscall::gkfs_stat(const string&, struct stat *, bool)

Function Documentation

int gkfs::syscall::gkfs_stat(const string &path, struct stat *buf, bool follow_links)

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

Parameters:
  • path –

  • buf –

  • follow_links –

Returns:

0 on success, -1 on failure